OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |