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

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

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.h
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h
index 95f8bb317e72af1230fc1967da5c69c528c3519a..b787bb9856443504e883ff7d0e14a668caed4e06 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
@@ -149,7 +149,7 @@ class CORE_EXPORT FetchContext
virtual void addConsoleMessage(const String&,
LogMessageType = LogErrorMessage) const;
virtual SecurityOrigin* getSecurityOrigin() const { return nullptr; }
- virtual void upgradeInsecureRequest(ResourceRequest&);
+ virtual void modifyRequestForCSP(ResourceRequest&);
virtual void addClientHintsIfNecessary(FetchRequest&);
virtual void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&);
virtual void populateRequestData(ResourceRequest&);

Powered by Google App Engine
This is Rietveld 408576698