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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp

Issue 2790693002: Split CSP into pre- and post-upgrade checks (Closed)
Patch Set: add unit tests Created 3 years, 8 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/platform/loader/fetch/FetchContext.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
index 3b549ac4f2ba49c1fbfdaec0fc62dc3fdbe3c2bc..c6c72cbd30fa7d844ac3e2a95730a8e1842fa09c 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
@@ -114,9 +114,12 @@ void FetchContext::SendImagePing(const KURL&) {}
void FetchContext::AddConsoleMessage(const String&,
FetchContext::LogMessageType) const {}
-void FetchContext::PopulateResourceRequest(Resource::Type,
+void FetchContext::PopulateResourceRequest(const KURL&,
+ Resource::Type,
const ClientHintsPreferences&,
const FetchRequest::ResourceWidth&,
+ const ResourceLoaderOptions&,
+ SecurityViolationReportingPolicy,
ResourceRequest&) {}
void FetchContext::SetFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {}

Powered by Google App Engine
This is Rietveld 408576698