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

Unified Diff: content/common/frame_replication_state.cc

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 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
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/public/common/content_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_replication_state.cc
diff --git a/content/common/frame_replication_state.cc b/content/common/frame_replication_state.cc
index a726525323c229f8aa7cc91748e630552771eb72..30b5f60a4724647a2124e62a717b7ffbc5a8e20a 100644
--- a/content/common/frame_replication_state.cc
+++ b/content/common/frame_replication_state.cc
@@ -21,7 +21,8 @@ FrameReplicationState::FrameReplicationState()
: sandbox_flags(blink::WebSandboxFlags::None),
scope(blink::WebTreeScopeType::Document),
insecure_request_policy(blink::kLeaveInsecureRequestsAlone),
- has_potentially_trustworthy_unique_origin(false) {}
+ has_potentially_trustworthy_unique_origin(false),
+ has_received_user_gesture(false) {}
FrameReplicationState::FrameReplicationState(
blink::WebTreeScopeType scope,
@@ -29,7 +30,8 @@ FrameReplicationState::FrameReplicationState(
const std::string& unique_name,
blink::WebSandboxFlags sandbox_flags,
blink::WebInsecureRequestPolicy insecure_request_policy,
- bool has_potentially_trustworthy_unique_origin)
+ bool has_potentially_trustworthy_unique_origin,
+ bool has_received_user_gesture)
: origin(),
sandbox_flags(sandbox_flags),
name(name),
@@ -37,7 +39,8 @@ FrameReplicationState::FrameReplicationState(
scope(scope),
insecure_request_policy(insecure_request_policy),
has_potentially_trustworthy_unique_origin(
- has_potentially_trustworthy_unique_origin) {}
+ has_potentially_trustworthy_unique_origin),
+ has_received_user_gesture(has_received_user_gesture) {}
FrameReplicationState::FrameReplicationState(
const FrameReplicationState& other) = default;
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/public/common/content_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698