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

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

Issue 2555713002: Don't use FetchRequest in FrameFetchContext (Closed)
Patch Set: a Created 3 years, 11 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/fetch/FetchContext.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.cpp b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
index 08d3cfb0ff8ad6b602b6fb21222ae8264a420516..910b02bc5c380740bcedf3356a9d5c629e1b0029 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
@@ -105,12 +105,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