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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 bool enable_upload_progress, | 150 bool enable_upload_progress, |
151 bool do_not_prompt_for_login, | 151 bool do_not_prompt_for_login, |
152 blink::WebReferrerPolicy referrer_policy, | 152 blink::WebReferrerPolicy referrer_policy, |
153 blink::WebPageVisibilityState visibility_state, | 153 blink::WebPageVisibilityState visibility_state, |
154 ResourceContext* context, | 154 ResourceContext* context, |
155 base::WeakPtr<ResourceMessageFilter> filter, | 155 base::WeakPtr<ResourceMessageFilter> filter, |
156 bool report_raw_headers, | 156 bool report_raw_headers, |
157 bool is_async, | 157 bool is_async, |
158 bool is_using_lofi, | 158 bool is_using_lofi, |
159 const std::string& original_headers, | 159 const std::string& original_headers, |
160 const scoped_refptr<ResourceRequestBody> body) | 160 const scoped_refptr<ResourceRequestBodyImpl> body) |
161 : cross_site_handler_(NULL), | 161 : cross_site_handler_(NULL), |
162 detachable_handler_(NULL), | 162 detachable_handler_(NULL), |
163 process_type_(process_type), | 163 process_type_(process_type), |
164 child_id_(child_id), | 164 child_id_(child_id), |
165 route_id_(route_id), | 165 route_id_(route_id), |
166 frame_tree_node_id_(frame_tree_node_id), | 166 frame_tree_node_id_(frame_tree_node_id), |
167 origin_pid_(origin_pid), | 167 origin_pid_(origin_pid), |
168 request_id_(request_id), | 168 request_id_(request_id), |
169 render_frame_id_(render_frame_id), | 169 render_frame_id_(render_frame_id), |
170 is_main_frame_(is_main_frame), | 170 is_main_frame_(is_main_frame), |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 origin_pid_ = origin_pid; | 335 origin_pid_ = origin_pid; |
336 request_id_ = request_id; | 336 request_id_ = request_id; |
337 filter_ = filter; | 337 filter_ = filter; |
338 } | 338 } |
339 | 339 |
340 void ResourceRequestInfoImpl::ResetBody() { | 340 void ResourceRequestInfoImpl::ResetBody() { |
341 body_ = nullptr; | 341 body_ = nullptr; |
342 } | 342 } |
343 | 343 |
344 } // namespace content | 344 } // namespace content |
OLD | NEW |