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

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

Issue 2372563002: Adding Embedding-CSP HTTP header (Closed)
Patch Set: Separating into two functions 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 5940aa20cf210e23e0f6821ac322a40fb0ecec00..6d612f69d3c599e9c8d40526ffb92b6f6b284b4e 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
@@ -109,7 +109,7 @@ public:
virtual void sendImagePing(const KURL&);
virtual void addConsoleMessage(const String&, LogMessageType = LogErrorMessage) const;
virtual SecurityOrigin* getSecurityOrigin() const { return nullptr; }
- virtual void upgradeInsecureRequest(ResourceRequest&);
+ virtual void addOutgoingSecurityHeadersAndUpgradeRequest(ResourceRequest&);
virtual void addClientHintsIfNecessary(FetchRequest&);
virtual void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&);
virtual void populateRequestData(ResourceRequest&);

Powered by Google App Engine
This is Rietveld 408576698