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

Side by Side Diff: content/common/frame_replication_state.cc

Issue 1723753002: Make Document::isSecureContext() work for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebase fixups Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/frame_replication_state.h" 5 #include "content/common/frame_replication_state.h"
6 #include "third_party/WebKit/public/web/WebSandboxFlags.h" 6 #include "third_party/WebKit/public/web/WebSandboxFlags.h"
7 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 7 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 FrameReplicationState::FrameReplicationState() 11 FrameReplicationState::FrameReplicationState()
12 : sandbox_flags(blink::WebSandboxFlags::None), 12 : sandbox_flags(blink::WebSandboxFlags::None),
13 scope(blink::WebTreeScopeType::Document), 13 scope(blink::WebTreeScopeType::Document),
14 should_enforce_strict_mixed_content_checking(false) {} 14 should_enforce_strict_mixed_content_checking(false),
15 has_potentially_trustworthy_unique_origin(false) {}
15 16
16 FrameReplicationState::FrameReplicationState( 17 FrameReplicationState::FrameReplicationState(
17 blink::WebTreeScopeType scope, 18 blink::WebTreeScopeType scope,
18 const std::string& name, 19 const std::string& name,
19 const std::string& unique_name, 20 const std::string& unique_name,
20 blink::WebSandboxFlags sandbox_flags, 21 blink::WebSandboxFlags sandbox_flags,
21 bool should_enforce_strict_mixed_content_checking) 22 bool should_enforce_strict_mixed_content_checking,
23 bool has_potentially_trustworthy_unique_origin)
22 : origin(), 24 : origin(),
23 sandbox_flags(sandbox_flags), 25 sandbox_flags(sandbox_flags),
24 name(name), 26 name(name),
25 unique_name(unique_name), 27 unique_name(unique_name),
26 scope(scope), 28 scope(scope),
27 should_enforce_strict_mixed_content_checking( 29 should_enforce_strict_mixed_content_checking(
28 should_enforce_strict_mixed_content_checking) {} 30 should_enforce_strict_mixed_content_checking),
31 has_potentially_trustworthy_unique_origin(
32 has_potentially_trustworthy_unique_origin) {}
29 33
30 FrameReplicationState::~FrameReplicationState() { 34 FrameReplicationState::~FrameReplicationState() {
31 } 35 }
32 36
33 } // namespace content 37 } // namespace content
OLDNEW
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698