summaryrefslogtreecommitdiffstats
path: root/dom/url/URLWorker.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /dom/url/URLWorker.h
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/url/URLWorker.h')
-rw-r--r--dom/url/URLWorker.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/dom/url/URLWorker.h b/dom/url/URLWorker.h
index be8ab512a1..8424e35cca 100644
--- a/dom/url/URLWorker.h
+++ b/dom/url/URLWorker.h
@@ -21,22 +21,20 @@ namespace dom {
class URLWorker final {
public:
static already_AddRefed<URLWorker> Constructor(
- const GlobalObject& aGlobal, const nsAString& aURL,
- const Optional<nsAString>& aBase, ErrorResult& aRv);
+ const GlobalObject& aGlobal, const nsACString& aURL,
+ const Optional<nsACString>& aBase, ErrorResult& aRv);
static already_AddRefed<URLWorker> Constructor(const GlobalObject& aGlobal,
- const nsAString& aURL,
- const nsAString& aBase,
+ const nsACString& aURL,
+ const nsACString& aBase,
ErrorResult& aRv);
static void CreateObjectURL(const GlobalObject& aGlobal, Blob& aBlob,
- nsAString& aResult, mozilla::ErrorResult& aRv);
-
+ nsACString& aResult, mozilla::ErrorResult& aRv);
static void RevokeObjectURL(const GlobalObject& aGlobal,
- const nsAString& aUrl, ErrorResult& aRv);
-
+ const nsACString& aUrl, ErrorResult& aRv);
static bool IsValidObjectURL(const GlobalObject& aGlobal,
- const nsAString& aUrl, ErrorResult& aRv);
+ const nsACString& aUrl, ErrorResult& aRv);
};
} // namespace dom