summaryrefslogtreecommitdiffstats
path: root/dom/fetch/FetchService.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {};