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

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

Issue 2654873004: Move content-side Feature Policy code into content/{common,child}/feature_policy (Closed)
Patch Set: Fix missed nit Created 3 years, 11 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.cc » ('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 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 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration()
13 : matches_all_origins(false) {}
14
15 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration(
16 const ParsedFeaturePolicyDeclaration& rhs) = default;
17
18 ParsedFeaturePolicyDeclaration::~ParsedFeaturePolicyDeclaration() {}
19
20 FrameReplicationState::FrameReplicationState() 12 FrameReplicationState::FrameReplicationState()
21 : sandbox_flags(blink::WebSandboxFlags::None), 13 : sandbox_flags(blink::WebSandboxFlags::None),
22 scope(blink::WebTreeScopeType::Document), 14 scope(blink::WebTreeScopeType::Document),
23 insecure_request_policy(blink::kLeaveInsecureRequestsAlone), 15 insecure_request_policy(blink::kLeaveInsecureRequestsAlone),
24 has_potentially_trustworthy_unique_origin(false), 16 has_potentially_trustworthy_unique_origin(false),
25 has_received_user_gesture(false) {} 17 has_received_user_gesture(false) {}
26 18
27 FrameReplicationState::FrameReplicationState( 19 FrameReplicationState::FrameReplicationState(
28 blink::WebTreeScopeType scope, 20 blink::WebTreeScopeType scope,
29 const std::string& name, 21 const std::string& name,
(...skipping 12 matching lines...) Expand all
42 has_potentially_trustworthy_unique_origin), 34 has_potentially_trustworthy_unique_origin),
43 has_received_user_gesture(has_received_user_gesture) {} 35 has_received_user_gesture(has_received_user_gesture) {}
44 36
45 FrameReplicationState::FrameReplicationState( 37 FrameReplicationState::FrameReplicationState(
46 const FrameReplicationState& other) = default; 38 const FrameReplicationState& other) = default;
47 39
48 FrameReplicationState::~FrameReplicationState() { 40 FrameReplicationState::~FrameReplicationState() {
49 } 41 }
50 42
51 } // namespace content 43 } // namespace content
OLDNEW
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698