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 |
7 #include "third_party/WebKit/public/web/WebSandboxFlags.h" | 7 #include "third_party/WebKit/public/web/WebSandboxFlags.h" |
8 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 8 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 | 11 |
12 FeaturePolicyParsedWhitelist::FeaturePolicyParsedWhitelist() | 12 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration() |
13 : matches_all_origins(false) {} | 13 : matches_all_origins(false) {} |
14 | 14 |
15 FeaturePolicyParsedWhitelist::FeaturePolicyParsedWhitelist( | 15 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration( |
16 const FeaturePolicyParsedWhitelist& fppw) = default; | 16 const ParsedFeaturePolicyDeclaration& rhs) = default; |
17 | 17 |
18 FeaturePolicyParsedWhitelist::~FeaturePolicyParsedWhitelist() {} | 18 ParsedFeaturePolicyDeclaration::~ParsedFeaturePolicyDeclaration() {} |
19 | 19 |
20 FrameReplicationState::FrameReplicationState() | 20 FrameReplicationState::FrameReplicationState() |
21 : sandbox_flags(blink::WebSandboxFlags::None), | 21 : sandbox_flags(blink::WebSandboxFlags::None), |
22 scope(blink::WebTreeScopeType::Document), | 22 scope(blink::WebTreeScopeType::Document), |
23 insecure_request_policy(blink::kLeaveInsecureRequestsAlone), | 23 insecure_request_policy(blink::kLeaveInsecureRequestsAlone), |
24 has_potentially_trustworthy_unique_origin(false), | 24 has_potentially_trustworthy_unique_origin(false), |
25 has_received_user_gesture(false) {} | 25 has_received_user_gesture(false) {} |
26 | 26 |
27 FrameReplicationState::FrameReplicationState( | 27 FrameReplicationState::FrameReplicationState( |
28 blink::WebTreeScopeType scope, | 28 blink::WebTreeScopeType scope, |
(...skipping 13 matching lines...) Expand all Loading... |
42 has_potentially_trustworthy_unique_origin), | 42 has_potentially_trustworthy_unique_origin), |
43 has_received_user_gesture(has_received_user_gesture) {} | 43 has_received_user_gesture(has_received_user_gesture) {} |
44 | 44 |
45 FrameReplicationState::FrameReplicationState( | 45 FrameReplicationState::FrameReplicationState( |
46 const FrameReplicationState& other) = default; | 46 const FrameReplicationState& other) = default; |
47 | 47 |
48 FrameReplicationState::~FrameReplicationState() { | 48 FrameReplicationState::~FrameReplicationState() { |
49 } | 49 } |
50 | 50 |
51 } // namespace content | 51 } // namespace content |
OLD | NEW |