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

Side by Side Diff: content/child/request_extra_data.cc

Issue 2652123002: PlzNavigate: Attempt to fix blink layout tests which fail due to duplicate output from WebFrameClie… (Closed)
Patch Set: Fix redness Created 3 years, 10 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/child/request_extra_data.h ('k') | content/public/test/layouttest_support.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/child/request_extra_data.h" 5 #include "content/child/request_extra_data.h"
6 6
7 #include "content/common/resource_request.h" 7 #include "content/common/resource_request.h"
8 #include "content/common/service_worker/service_worker_types.h" 8 #include "content/common/service_worker/service_worker_types.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 10
(...skipping 10 matching lines...) Expand all
21 allow_download_(true), 21 allow_download_(true),
22 transition_type_(ui::PAGE_TRANSITION_LINK), 22 transition_type_(ui::PAGE_TRANSITION_LINK),
23 should_replace_current_entry_(false), 23 should_replace_current_entry_(false),
24 transferred_request_child_id_(-1), 24 transferred_request_child_id_(-1),
25 transferred_request_request_id_(-1), 25 transferred_request_request_id_(-1),
26 service_worker_provider_id_(kInvalidServiceWorkerProviderId), 26 service_worker_provider_id_(kInvalidServiceWorkerProviderId),
27 originated_from_service_worker_(false), 27 originated_from_service_worker_(false),
28 initiated_in_secure_context_(false), 28 initiated_in_secure_context_(false),
29 is_prefetch_(false), 29 is_prefetch_(false),
30 download_to_network_cache_only_(false), 30 download_to_network_cache_only_(false),
31 block_mixed_plugin_content_(false) {} 31 block_mixed_plugin_content_(false),
32 navigation_initiated_by_renderer_(false) {}
32 33
33 RequestExtraData::~RequestExtraData() { 34 RequestExtraData::~RequestExtraData() {
34 } 35 }
35 36
36 void RequestExtraData::CopyToResourceRequest(ResourceRequest* request) const { 37 void RequestExtraData::CopyToResourceRequest(ResourceRequest* request) const {
37 request->visibility_state = visibility_state_; 38 request->visibility_state = visibility_state_;
38 request->render_frame_id = render_frame_id_; 39 request->render_frame_id = render_frame_id_;
39 request->is_main_frame = is_main_frame_; 40 request->is_main_frame = is_main_frame_;
40 41
41 request->parent_is_main_frame = parent_is_main_frame_; 42 request->parent_is_main_frame = parent_is_main_frame_;
42 request->parent_render_frame_id = parent_render_frame_id_; 43 request->parent_render_frame_id = parent_render_frame_id_;
43 request->allow_download = allow_download_; 44 request->allow_download = allow_download_;
44 request->transition_type = transition_type_; 45 request->transition_type = transition_type_;
45 request->should_replace_current_entry = should_replace_current_entry_; 46 request->should_replace_current_entry = should_replace_current_entry_;
46 request->transferred_request_child_id = transferred_request_child_id_; 47 request->transferred_request_child_id = transferred_request_child_id_;
47 request->transferred_request_request_id = transferred_request_request_id_; 48 request->transferred_request_request_id = transferred_request_request_id_;
48 request->service_worker_provider_id = service_worker_provider_id_; 49 request->service_worker_provider_id = service_worker_provider_id_;
49 request->originated_from_service_worker = originated_from_service_worker_; 50 request->originated_from_service_worker = originated_from_service_worker_;
50 51
51 request->initiated_in_secure_context = initiated_in_secure_context_; 52 request->initiated_in_secure_context = initiated_in_secure_context_;
52 request->download_to_network_cache_only = download_to_network_cache_only_; 53 request->download_to_network_cache_only = download_to_network_cache_only_;
53 } 54 }
54 55
55 } // namespace content 56 } // namespace content
OLDNEW
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/public/test/layouttest_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698