| Index: third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| diff --git a/third_party/WebKit/Source/core/loader/WorkerFetchContext.h b/third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| index 42265cfff68e7531f9ad684a3783a14317f1f206..fd41a56e987fc90a216dd94db419b3e7a5e06726 100644
|
| --- a/third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| +++ b/third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| @@ -33,6 +33,7 @@ class WorkerFetchContext final : public BaseFetchContext {
|
| virtual ~WorkerFetchContext();
|
|
|
| ResourceFetcher* GetResourceFetcher();
|
| + KURL FirstPartyForCookies() const;
|
|
|
| // BaseFetchContext implementation:
|
| ContentSettingsClient* GetContentSettingsClient() const override;
|
| @@ -63,6 +64,14 @@ class WorkerFetchContext final : public BaseFetchContext {
|
| void AddAdditionalRequestHeaders(ResourceRequest&,
|
| FetchResourceType) override;
|
| void AddResourceTiming(const ResourceTimingInfo&) override;
|
| + void PopulateResourceRequest(const KURL&,
|
| + Resource::Type,
|
| + const ClientHintsPreferences&,
|
| + const FetchParameters::ResourceWidth&,
|
| + const ResourceLoaderOptions&,
|
| + SecurityViolationReportingPolicy,
|
| + ResourceRequest&) override;
|
| + void SetFirstPartyCookieAndRequestorOrigin(ResourceRequest&) override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|