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

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

Issue 2557063002: Upgrade Insecure Requests: bugfixes, tests, and support for OOPIF.
Patch Set: Addressed comments (@nasko #2). Created 4 years 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 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 {
(...skipping 11 matching lines...) Expand all
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 25
26 FrameReplicationState::FrameReplicationState( 26 FrameReplicationState::FrameReplicationState(
27 blink::WebTreeScopeType scope, 27 blink::WebTreeScopeType scope,
28 const std::string& name, 28 const std::string& name,
29 const std::string& unique_name, 29 const std::string& unique_name,
30 blink::WebSandboxFlags sandbox_flags, 30 blink::WebSandboxFlags sandbox_flags,
31 blink::WebInsecureRequestPolicy insecure_request_policy, 31 blink::WebInsecureRequestPolicy insecure_request_policy,
32 const std::vector<uint32_t>& insecure_navigations_set,
32 bool has_potentially_trustworthy_unique_origin) 33 bool has_potentially_trustworthy_unique_origin)
33 : origin(), 34 : origin(),
34 sandbox_flags(sandbox_flags), 35 sandbox_flags(sandbox_flags),
35 name(name), 36 name(name),
36 unique_name(unique_name), 37 unique_name(unique_name),
37 scope(scope), 38 scope(scope),
38 insecure_request_policy(insecure_request_policy), 39 insecure_request_policy(insecure_request_policy),
40 insecure_navigations_set(insecure_navigations_set),
39 has_potentially_trustworthy_unique_origin( 41 has_potentially_trustworthy_unique_origin(
40 has_potentially_trustworthy_unique_origin) {} 42 has_potentially_trustworthy_unique_origin) {}
41 43
42 FrameReplicationState::FrameReplicationState( 44 FrameReplicationState::FrameReplicationState(
43 const FrameReplicationState& other) = default; 45 const FrameReplicationState& other) = default;
44 46
45 FrameReplicationState::~FrameReplicationState() { 47 FrameReplicationState::~FrameReplicationState() {
46 } 48 }
47 49
48 } // namespace content 50 } // 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