| OLD | NEW |
| 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 } | 14 should_enforce_strict_mixed_content_checking(false) {} |
| 15 | 15 |
| 16 FrameReplicationState::FrameReplicationState( | 16 FrameReplicationState::FrameReplicationState( |
| 17 blink::WebTreeScopeType scope, | 17 blink::WebTreeScopeType scope, |
| 18 const std::string& name, | 18 const std::string& name, |
| 19 blink::WebSandboxFlags sandbox_flags) | 19 blink::WebSandboxFlags sandbox_flags, |
| 20 : origin(), sandbox_flags(sandbox_flags), name(name), scope(scope) { | 20 bool should_enforce_strict_mixed_content_checking) |
| 21 } | 21 : origin(), |
| 22 sandbox_flags(sandbox_flags), |
| 23 name(name), |
| 24 scope(scope), |
| 25 should_enforce_strict_mixed_content_checking( |
| 26 should_enforce_strict_mixed_content_checking) {} |
| 22 | 27 |
| 23 FrameReplicationState::~FrameReplicationState() { | 28 FrameReplicationState::~FrameReplicationState() { |
| 24 } | 29 } |
| 25 | 30 |
| 26 } // namespace content | 31 } // namespace content |
| OLD | NEW |