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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchContext.cpp

Issue 2555713002: Don't use FetchRequest in FrameFetchContext (Closed)
Patch Set: Rebase Created 4 years 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/fetch/FetchContext.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.cpp b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
index 3278e745661b02c9ed9946a23701742e21b4a07d..35eb65048e7c7afc7dcf6af04f8f6ca05eb8d2d4 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
@@ -102,12 +102,11 @@ void FetchContext::sendImagePing(const KURL&) {}
void FetchContext::addConsoleMessage(const String&,
FetchContext::LogMessageType) const {}
-void FetchContext::modifyRequestForCSP(ResourceRequest&) {}
+void FetchContext::populateResourceRequest(Resource::Type,
+ const ClientHintsPreferences&,
+ const FetchRequest::ResourceWidth&,
+ ResourceRequest&) {}
-void FetchContext::addClientHintsIfNecessary(FetchRequest&) {}
-
-void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {}
-
-void FetchContext::populateRequestData(ResourceRequest&) {}
+void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698