summaryrefslogtreecommitdiffstats
path: root/dom/fetch/FetchService.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /dom/fetch/FetchService.h
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/fetch/FetchService.h')
-rw-r--r--dom/fetch/FetchService.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/dom/fetch/FetchService.h b/dom/fetch/FetchService.h
index 2b9a4d2163..36c2527ef0 100644
--- a/dom/fetch/FetchService.h
+++ b/dom/fetch/FetchService.h
@@ -48,17 +48,17 @@ class FetchServicePromises final {
RefPtr<FetchServiceResponseEndPromise> GetResponseEndPromise();
void ResolveResponseAvailablePromise(FetchServiceResponse&& aResponse,
- const char* aMethodName);
+ StaticString aMethodName);
void RejectResponseAvailablePromise(const CopyableErrorResult&& aError,
- const char* aMethodName);
+ StaticString aMethodName);
void ResolveResponseTimingPromise(ResponseTiming&& aTiming,
- const char* aMethodName);
+ StaticString aMethodName);
void RejectResponseTimingPromise(const CopyableErrorResult&& aError,
- const char* aMethodName);
+ StaticString aMethodName);
void ResolveResponseEndPromise(ResponseEndArgs&& aArgs,
- const char* aMethodName);
+ StaticString aMethodName);
void RejectResponseEndPromise(const CopyableErrorResult&& aError,
- const char* aMethodName);
+ StaticString aMethodName);
private:
~FetchServicePromises() = default;
@@ -101,6 +101,7 @@ class FetchService final : public nsIObserver {
uint64_t mAssociatedBrowsingContextID;
nsCOMPtr<nsISerialEventTarget> mEventTarget;
nsID mActorID;
+ bool mIsThirdPartyContext;
};
struct UnknownArgs {};