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

Unified Diff: third_party/WebKit/public/web/WebFrame.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: alexmos@ 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/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 52c488bd0a7c8b14f70c5e8272b708c65c5dcbdb..2eb2c08f7cca30542885079dda703b6b55c697a0 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -38,6 +38,7 @@
#include "WebURLLoaderOptions.h"
#include "public/platform/WebCachePolicy.h"
#include "public/platform/WebCanvas.h"
+#include "public/platform/WebInsecureRequestPolicy.h"
#include "public/platform/WebMessagePortChannel.h"
#include "public/platform/WebPrivateOwnPtr.h"
#include "public/platform/WebReferrerPolicy.h"
@@ -170,8 +171,8 @@ public:
// navigation.
BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags);
- // Returns true if the frame is enforcing strict mixed content checking.
- BLINK_EXPORT bool shouldEnforceStrictMixedContentChecking() const;
+ // The frame's insecure request policy.
+ BLINK_EXPORT WebInsecureRequestPolicy getInsecureRequestPolicy() const;
// Updates this frame's FrameOwner properties, such as scrolling, margin,
// or allowfullscreen. This is used when this frame's parent is in
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698