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

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

Issue 2038813003: Making ResourceRequestBody part of //content's public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 6 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/browser_side_navigation_policy.h" 10 #include "content/public/common/browser_side_navigation_policy.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 FrameMsg_Navigate_Type::Value navigation_type, 44 FrameMsg_Navigate_Type::Value navigation_type,
45 bool allow_download, 45 bool allow_download,
46 bool should_replace_current_entry, 46 bool should_replace_current_entry,
47 base::TimeTicks ui_timestamp, 47 base::TimeTicks ui_timestamp,
48 FrameMsg_UILoadMetricsReportType::Value report_type, 48 FrameMsg_UILoadMetricsReportType::Value report_type,
49 const GURL& base_url_for_data_url, 49 const GURL& base_url_for_data_url,
50 const GURL& history_url_for_data_url, 50 const GURL& history_url_for_data_url,
51 LoFiState lofi_state, 51 LoFiState lofi_state,
52 const base::TimeTicks& navigation_start, 52 const base::TimeTicks& navigation_start,
53 std::string method, 53 std::string method,
54 const scoped_refptr<ResourceRequestBody>& post_data) 54 const scoped_refptr<ResourceRequestBodyImpl>& post_data)
55 : url(url), 55 : url(url),
56 referrer(referrer), 56 referrer(referrer),
57 transition(transition), 57 transition(transition),
58 navigation_type(navigation_type), 58 navigation_type(navigation_type),
59 allow_download(allow_download), 59 allow_download(allow_download),
60 should_replace_current_entry(should_replace_current_entry), 60 should_replace_current_entry(should_replace_current_entry),
61 ui_timestamp(ui_timestamp), 61 ui_timestamp(ui_timestamp),
62 report_type(report_type), 62 report_type(report_type),
63 base_url_for_data_url(base_url_for_data_url), 63 base_url_for_data_url(base_url_for_data_url),
64 history_url_for_data_url(history_url_for_data_url), 64 history_url_for_data_url(history_url_for_data_url),
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const RequestNavigationParams& request_params) 193 const RequestNavigationParams& request_params)
194 : common_params(common_params), 194 : common_params(common_params),
195 start_params(start_params), 195 start_params(start_params),
196 request_params(request_params) { 196 request_params(request_params) {
197 } 197 }
198 198
199 NavigationParams::~NavigationParams() { 199 NavigationParams::~NavigationParams() {
200 } 200 }
201 201
202 } // namespace content 202 } // 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