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

Unified Diff: content/common/frame_replication_state.h

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 37612c873f7f2ae5aa5d6a0b4dce27e43066228c..0bb4d7cd014e7d3ff262e0fd0e9b369f142e58c6 100644
--- a/content/common/frame_replication_state.h
+++ b/content/common/frame_replication_state.h
@@ -21,7 +21,8 @@ struct CONTENT_EXPORT FrameReplicationState {
FrameReplicationState();
FrameReplicationState(blink::WebTreeScopeType scope,
const std::string& name,
- blink::WebSandboxFlags sandbox_flags);
+ blink::WebSandboxFlags sandbox_flags,
+ bool should_enforce_strict_mixed_content_checking);
~FrameReplicationState();
// Current origin of the frame. This field is updated whenever a frame
@@ -69,6 +70,11 @@ 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 in
+ // --site-per-process mode.
+ bool should_enforce_strict_mixed_content_checking;
alexmos 2015/12/03 20:43:26 Does this bit need to be processed when creating n
estark 2015/12/04 00:19:31 Yeah, I agree with you that it's important to set
alexmos 2015/12/04 23:41:11 Ah, you're right, that case is indeed fine. :)
+
// TODO(alexmos): Eventually, this structure can also hold other state that
// needs to be replicated, such as frame sizing info.
};

Powered by Google App Engine
This is Rietveld 408576698