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

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

Issue 2954343005: Merge ResourceRequestBodyImpl and ResourceRequestBody. (Closed)
Patch Set: Remove comment Created 3 years, 5 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/navigation_params.h ('k') | content/common/page_state_serialization.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/navigation_params.h" 5 #include "content/common/navigation_params.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "content/public/common/appcache_info.h" 10 #include "content/public/common/appcache_info.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 FrameMsg_Navigate_Type::Value navigation_type, 71 FrameMsg_Navigate_Type::Value navigation_type,
72 bool allow_download, 72 bool allow_download,
73 bool should_replace_current_entry, 73 bool should_replace_current_entry,
74 base::TimeTicks ui_timestamp, 74 base::TimeTicks ui_timestamp,
75 FrameMsg_UILoadMetricsReportType::Value report_type, 75 FrameMsg_UILoadMetricsReportType::Value report_type,
76 const GURL& base_url_for_data_url, 76 const GURL& base_url_for_data_url,
77 const GURL& history_url_for_data_url, 77 const GURL& history_url_for_data_url,
78 PreviewsState previews_state, 78 PreviewsState previews_state,
79 const base::TimeTicks& navigation_start, 79 const base::TimeTicks& navigation_start,
80 std::string method, 80 std::string method,
81 const scoped_refptr<ResourceRequestBodyImpl>& post_data, 81 const scoped_refptr<ResourceRequestBody>& post_data,
82 base::Optional<SourceLocation> source_location, 82 base::Optional<SourceLocation> source_location,
83 CSPDisposition should_check_main_world_csp) 83 CSPDisposition should_check_main_world_csp)
84 : url(url), 84 : url(url),
85 referrer(referrer), 85 referrer(referrer),
86 transition(transition), 86 transition(transition),
87 navigation_type(navigation_type), 87 navigation_type(navigation_type),
88 allow_download(allow_download), 88 allow_download(allow_download),
89 should_replace_current_entry(should_replace_current_entry), 89 should_replace_current_entry(should_replace_current_entry),
90 ui_timestamp(ui_timestamp), 90 ui_timestamp(ui_timestamp),
91 report_type(report_type), 91 report_type(report_type),
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 const RequestNavigationParams& request_params) 230 const RequestNavigationParams& request_params)
231 : common_params(common_params), 231 : common_params(common_params),
232 start_params(start_params), 232 start_params(start_params),
233 request_params(request_params) { 233 request_params(request_params) {
234 } 234 }
235 235
236 NavigationParams::~NavigationParams() { 236 NavigationParams::~NavigationParams() {
237 } 237 }
238 238
239 } // namespace content 239 } // namespace content
OLDNEW
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/page_state_serialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698