| Index: content/renderer/render_frame_proxy.cc
|
| diff --git a/content/renderer/render_frame_proxy.cc b/content/renderer/render_frame_proxy.cc
|
| index d31dab2b826db77a1a7ec6217f4b896a9db97bd6..c92b999fe7602e28e668bb2847e6a206d59eedd8 100644
|
| --- a/content/renderer/render_frame_proxy.cc
|
| +++ b/content/renderer/render_frame_proxy.cc
|
| @@ -229,6 +229,8 @@ void RenderFrameProxy::SetReplicatedState(const FrameReplicationState& state) {
|
| blink::WebString::fromUTF8(state.unique_name));
|
| web_frame_->setReplicatedShouldEnforceStrictMixedContentChecking(
|
| state.should_enforce_strict_mixed_content_checking);
|
| + web_frame_->setReplicatedPotentiallyTrustworthyUniqueOrigin(
|
| + state.is_potentially_trustworthy_unique_origin);
|
| }
|
|
|
| // Update the proxy's SecurityContext and FrameOwner with new sandbox flags
|
| @@ -274,6 +276,8 @@ bool RenderFrameProxy::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER(FrameMsg_DidUpdateName, OnDidUpdateName)
|
| IPC_MESSAGE_HANDLER(FrameMsg_EnforceStrictMixedContentChecking,
|
| OnEnforceStrictMixedContentChecking)
|
| + IPC_MESSAGE_HANDLER(FrameMsg_DidSetUniqueOriginPotentiallyTrustworthy,
|
| + OnDidSetUniqueOriginPotentiallyTrustworthy)
|
| IPC_MESSAGE_HANDLER(FrameMsg_DidUpdateOrigin, OnDidUpdateOrigin)
|
| IPC_MESSAGE_HANDLER(InputMsg_SetFocus, OnSetPageFocus)
|
| IPC_MESSAGE_HANDLER(FrameMsg_SetFocusedFrame, OnSetFocusedFrame)
|
| @@ -366,6 +370,12 @@ void RenderFrameProxy::OnEnforceStrictMixedContentChecking(
|
| should_enforce);
|
| }
|
|
|
| +void RenderFrameProxy::OnDidSetUniqueOriginPotentiallyTrustworthy(
|
| + bool is_unique_origin_potentially_trustworthy) {
|
| + web_frame_->setReplicatedPotentiallyTrustworthyUniqueOrigin(
|
| + is_unique_origin_potentially_trustworthy);
|
| +}
|
| +
|
| void RenderFrameProxy::OnDidUpdateOrigin(const url::Origin& origin) {
|
| web_frame_->setReplicatedOrigin(origin);
|
| }
|
|
|