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

Unified Diff: content/common/frame_replication_state.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: content/common/frame_replication_state.h
diff --git a/content/common/frame_replication_state.h b/content/common/frame_replication_state.h
index 9cb88af432b95953bd2fc6d1b1a5ef9c34911510..c3a23747e6c11d734e88743eb34c29dc55b60273 100644
--- a/content/common/frame_replication_state.h
+++ b/content/common/frame_replication_state.h
@@ -10,6 +10,7 @@
#include "content/common/content_export.h"
#include "content/common/content_security_policy_header.h"
+#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
#include "url/origin.h"
namespace blink {
@@ -27,7 +28,7 @@ struct CONTENT_EXPORT FrameReplicationState {
const std::string& name,
const std::string& unique_name,
blink::WebSandboxFlags sandbox_flags,
- bool should_enforce_strict_mixed_content_checking,
+ blink::WebInsecureRequestPolicy insecure_request_policy,
bool has_potentially_trustworthy_unique_origin);
FrameReplicationState(const FrameReplicationState& other);
~FrameReplicationState();
@@ -95,10 +96,10 @@ struct CONTENT_EXPORT FrameReplicationState {
// operator.
blink::WebTreeScopeType scope;
- // True if a frame's current document should strictly block all mixed
- // content. Updates are immediately sent to all frame proxies when
- // frames live in different processes.
- bool should_enforce_strict_mixed_content_checking;
+ // The insecure request policy that a frame's current is enforcing.
alexmos 2016/06/07 19:00:06 Missing a word? A frame's current >document< is e
Mike West 2016/06/08 07:21:12 Done.
+ // Updates are immediately sent to all frame proxies when frames live in
+ // different processes.
+ blink::WebInsecureRequestPolicy insecure_request_policy;
// True if a frame's origin is unique and should be considered potentially
// trustworthy.

Powered by Google App Engine
This is Rietveld 408576698