summaryrefslogtreecommitdiffstats
path: root/dom/cache/Cache.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/cache/Cache.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/cache/Cache.h')
-rw-r--r--dom/cache/Cache.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/dom/cache/Cache.h b/dom/cache/Cache.h
index 02ccb557f7..35b133357b 100644
--- a/dom/cache/Cache.h
+++ b/dom/cache/Cache.h
@@ -22,10 +22,10 @@ class ErrorResult;
namespace dom {
-class OwningRequestOrUSVString;
+class OwningRequestOrUTF8String;
class Promise;
struct CacheQueryOptions;
-class RequestOrUSVString;
+class RequestOrUTF8String;
class Response;
template <typename T>
class Optional;
@@ -46,27 +46,27 @@ class Cache final : public nsISupports,
// webidl interface methods
already_AddRefed<Promise> Match(JSContext* aCx,
- const RequestOrUSVString& aRequest,
+ const RequestOrUTF8String& aRequest,
const CacheQueryOptions& aOptions,
ErrorResult& aRv);
already_AddRefed<Promise> MatchAll(
- JSContext* aCx, const Optional<RequestOrUSVString>& aRequest,
+ JSContext* aCx, const Optional<RequestOrUTF8String>& aRequest,
const CacheQueryOptions& aOptions, ErrorResult& aRv);
already_AddRefed<Promise> Add(JSContext* aContext,
- const RequestOrUSVString& aRequest,
+ const RequestOrUTF8String& aRequest,
CallerType aCallerType, ErrorResult& aRv);
already_AddRefed<Promise> AddAll(
- JSContext* aContext, const Sequence<OwningRequestOrUSVString>& aRequests,
+ JSContext* aContext, const Sequence<OwningRequestOrUTF8String>& aRequests,
CallerType aCallerType, ErrorResult& aRv);
already_AddRefed<Promise> Put(JSContext* aCx,
- const RequestOrUSVString& aRequest,
+ const RequestOrUTF8String& aRequest,
Response& aResponse, ErrorResult& aRv);
already_AddRefed<Promise> Delete(JSContext* aCx,
- const RequestOrUSVString& aRequest,
+ const RequestOrUTF8String& aRequest,
const CacheQueryOptions& aOptions,
ErrorResult& aRv);
already_AddRefed<Promise> Keys(JSContext* aCx,
- const Optional<RequestOrUSVString>& aRequest,
+ const Optional<RequestOrUTF8String>& aRequest,
const CacheQueryOptions& aParams,
ErrorResult& aRv);