Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1194)

Unified Diff: third_party/WebKit/Source/core/loader/WorkerFetchContext.h

Issue 2891453005: Pipe the FirstPartyForCookies to WorkerFetchContext for off-main-thread-fetch (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698