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

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

Issue 2372563002: Adding Embedding-CSP HTTP header (Closed)
Patch Set: Adding a test in FrameFetchContextModifyRequestTest Created 4 years, 2 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 5a6ac154935e7bbad4e833488702b90c0cb79d9e..1834e5410b0ef44f1f0faceac00c89db80f7b48e 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
@@ -97,7 +97,7 @@ void FetchContext::sendImagePing(const KURL&) {}
void FetchContext::addConsoleMessage(const String&,
FetchContext::LogMessageType) const {}
-void FetchContext::upgradeInsecureRequest(ResourceRequest&) {}
+void FetchContext::modifyRequestForCSP(ResourceRequest&) {}
void FetchContext::addClientHintsIfNecessary(FetchRequest&) {}

Powered by Google App Engine
This is Rietveld 408576698