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 |
6 #include "third_party/WebKit/public/web/WebSandboxFlags.h" | 7 #include "third_party/WebKit/public/web/WebSandboxFlags.h" |
7 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 8 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
8 | 9 |
9 namespace content { | 10 namespace content { |
10 | 11 |
| 12 FeaturePolicyParsedWhitelist::FeaturePolicyParsedWhitelist() |
| 13 : matches_all_origins(false) {} |
| 14 |
| 15 FeaturePolicyParsedWhitelist::FeaturePolicyParsedWhitelist( |
| 16 const FeaturePolicyParsedWhitelist& fppw) = default; |
| 17 |
| 18 FeaturePolicyParsedWhitelist::~FeaturePolicyParsedWhitelist() {} |
| 19 |
11 FrameReplicationState::FrameReplicationState() | 20 FrameReplicationState::FrameReplicationState() |
12 : sandbox_flags(blink::WebSandboxFlags::None), | 21 : sandbox_flags(blink::WebSandboxFlags::None), |
13 scope(blink::WebTreeScopeType::Document), | 22 scope(blink::WebTreeScopeType::Document), |
14 insecure_request_policy(blink::kLeaveInsecureRequestsAlone), | 23 insecure_request_policy(blink::kLeaveInsecureRequestsAlone), |
15 has_potentially_trustworthy_unique_origin(false) {} | 24 has_potentially_trustworthy_unique_origin(false) {} |
16 | 25 |
17 FrameReplicationState::FrameReplicationState( | 26 FrameReplicationState::FrameReplicationState( |
18 blink::WebTreeScopeType scope, | 27 blink::WebTreeScopeType scope, |
19 const std::string& name, | 28 const std::string& name, |
20 const std::string& unique_name, | 29 const std::string& unique_name, |
21 blink::WebSandboxFlags sandbox_flags, | 30 blink::WebSandboxFlags sandbox_flags, |
22 blink::WebInsecureRequestPolicy insecure_request_policy, | 31 blink::WebInsecureRequestPolicy insecure_request_policy, |
23 bool has_potentially_trustworthy_unique_origin) | 32 bool has_potentially_trustworthy_unique_origin) |
24 : origin(), | 33 : origin(), |
25 sandbox_flags(sandbox_flags), | 34 sandbox_flags(sandbox_flags), |
26 name(name), | 35 name(name), |
27 unique_name(unique_name), | 36 unique_name(unique_name), |
28 scope(scope), | 37 scope(scope), |
29 insecure_request_policy(insecure_request_policy), | 38 insecure_request_policy(insecure_request_policy), |
30 has_potentially_trustworthy_unique_origin( | 39 has_potentially_trustworthy_unique_origin( |
31 has_potentially_trustworthy_unique_origin) {} | 40 has_potentially_trustworthy_unique_origin) {} |
32 | 41 |
33 FrameReplicationState::FrameReplicationState( | 42 FrameReplicationState::FrameReplicationState( |
34 const FrameReplicationState& other) = default; | 43 const FrameReplicationState& other) = default; |
35 | 44 |
36 FrameReplicationState::~FrameReplicationState() { | 45 FrameReplicationState::~FrameReplicationState() { |
37 } | 46 } |
38 | 47 |
39 } // namespace content | 48 } // namespace content |
OLD | NEW |