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

Side by Side Diff: content/browser/loader/resource_request_info_impl.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
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/browser/loader/resource_request_info_impl.h" 5 #include "content/browser/loader/resource_request_info_impl.h"
6 6
7 #include "content/browser/frame_host/frame_tree_node.h" 7 #include "content/browser/frame_host/frame_tree_node.h"
8 #include "content/browser/loader/global_routing_id.h" 8 #include "content/browser/loader/global_routing_id.h"
9 #include "content/browser/loader/resource_message_filter.h" 9 #include "content/browser/loader/resource_message_filter.h"
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool has_user_gesture, 143 bool has_user_gesture,
144 bool enable_load_timing, 144 bool enable_load_timing,
145 bool enable_upload_progress, 145 bool enable_upload_progress,
146 bool do_not_prompt_for_login, 146 bool do_not_prompt_for_login,
147 blink::WebReferrerPolicy referrer_policy, 147 blink::WebReferrerPolicy referrer_policy,
148 blink::WebPageVisibilityState visibility_state, 148 blink::WebPageVisibilityState visibility_state,
149 ResourceContext* context, 149 ResourceContext* context,
150 bool report_raw_headers, 150 bool report_raw_headers,
151 bool is_async, 151 bool is_async,
152 PreviewsState previews_state, 152 PreviewsState previews_state,
153 const scoped_refptr<ResourceRequestBodyImpl> body, 153 const scoped_refptr<ResourceRequestBody> body,
154 bool initiated_in_secure_context) 154 bool initiated_in_secure_context)
155 : detachable_handler_(NULL), 155 : detachable_handler_(NULL),
156 requester_info_(std::move(requester_info)), 156 requester_info_(std::move(requester_info)),
157 route_id_(route_id), 157 route_id_(route_id),
158 frame_tree_node_id_(frame_tree_node_id), 158 frame_tree_node_id_(frame_tree_node_id),
159 origin_pid_(origin_pid), 159 origin_pid_(origin_pid),
160 request_id_(request_id), 160 request_id_(request_id),
161 render_frame_id_(render_frame_id), 161 render_frame_id_(render_frame_id),
162 is_main_frame_(is_main_frame), 162 is_main_frame_(is_main_frame),
163 parent_is_main_frame_(parent_is_main_frame), 163 parent_is_main_frame_(parent_is_main_frame),
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 void ResourceRequestInfoImpl::ResetBody() { 364 void ResourceRequestInfoImpl::ResetBody() {
365 body_ = nullptr; 365 body_ = nullptr;
366 } 366 }
367 367
368 void ResourceRequestInfoImpl::SetBlobHandles(BlobHandles blob_handles) { 368 void ResourceRequestInfoImpl::SetBlobHandles(BlobHandles blob_handles) {
369 blob_handles_ = std::move(blob_handles); 369 blob_handles_ = std::move(blob_handles);
370 } 370 }
371 371
372 } // namespace content 372 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/loader/upload_data_stream_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698