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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2372563002: Adding Embedding-CSP HTTP header (Closed)
Patch Set: ASCII DCHECK and a comment 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/loader/FrameFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.h b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
index e0fe7db5b804e62a7a3b5313390f306a03e9d07b..e65e70280feecf1d6a049a6f5b2c667753149d23 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -136,7 +136,7 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
void addConsoleMessage(const String&,
LogMessageType = LogErrorMessage) const override;
SecurityOrigin* getSecurityOrigin() const override;
- void upgradeInsecureRequest(ResourceRequest&) override;
+ void modifyRequestForCSP(ResourceRequest&) override;
void addClientHintsIfNecessary(FetchRequest&) override;
void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
void populateRequestData(ResourceRequest&) override;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698