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

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

Issue 2284683002: PlzNavigate: support upgrade-insecure-navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 aff3f018f53d4a855227a858e38c1ea81fd7f306..ba54a3a3a424e8033c4d09b67623f786e39f3143 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -43,6 +43,7 @@ namespace blink {
class Document;
class DocumentLoader;
+class FrameLoader;
class LocalFrame;
class ResourceError;
class ResourceLoader;
@@ -99,6 +100,7 @@ public:
void sendImagePing(const KURL&) override;
void addConsoleMessage(const String&) const override;
SecurityOrigin* getSecurityOrigin() const override;
+ static void upgradeInsecureRequest(ResourceRequest&, Document*, FrameLoader*);
void upgradeInsecureRequest(ResourceRequest&) override;
void addClientHintsIfNecessary(FetchRequest&) override;
void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;

Powered by Google App Engine
This is Rietveld 408576698