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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2046733003: Replicate WebInsecureRequestPolicy instead of a bool for strict mixed content checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@securitycontext
Patch Set: Created 4 years, 6 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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index aa09796f670264040a0f85fc2c41d9c337707972..14ecfdad6c900f1f114383650555ce32edfb218b 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -50,6 +50,7 @@
#include "public/platform/WebEffectiveConnectionType.h"
#include "public/platform/WebFileSystem.h"
#include "public/platform/WebFileSystemType.h"
+#include "public/platform/WebInsecureRequestPolicy.h"
#include "public/platform/WebLoadingBehaviorFlag.h"
#include "public/platform/WebSecurityOrigin.h"
#include "public/platform/WebSetSinkIdCallbacks.h"
@@ -184,8 +185,8 @@ public:
// This frame's name has changed.
virtual void didChangeName(const WebString& name, const WebString& uniqueName) { }
- // This frame has been set to enforce strict mixed content checking.
- virtual void didEnforceStrictMixedContentChecking() {}
+ // This frame has set an insecure request policy.
+ virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy policy) {}
alexmos 2016/06/07 19:00:06 nit: can drop "policy" from declaration.
Mike West 2016/06/08 07:21:12 Indeed!
// This frame has been updated to a unique origin, which should be
// considered potentially trustworthy if

Powered by Google App Engine
This is Rietveld 408576698