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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 blink::WebReferrerPolicy referrer_policy, | 153 blink::WebReferrerPolicy referrer_policy, |
154 blink::WebPageVisibilityState visibility_state, | 154 blink::WebPageVisibilityState visibility_state, |
155 ResourceContext* context, | 155 ResourceContext* context, |
156 base::WeakPtr<ResourceMessageFilter> filter, | 156 base::WeakPtr<ResourceMessageFilter> filter, |
157 bool report_raw_headers, | 157 bool report_raw_headers, |
158 bool is_async, | 158 bool is_async, |
159 bool is_using_lofi, | 159 bool is_using_lofi, |
160 const std::string& original_headers, | 160 const std::string& original_headers, |
161 const scoped_refptr<ResourceRequestBodyImpl> body, | 161 const scoped_refptr<ResourceRequestBodyImpl> body, |
162 bool initiated_in_secure_context) | 162 bool initiated_in_secure_context) |
163 : cross_site_handler_(NULL), | 163 : detachable_handler_(NULL), |
164 detachable_handler_(NULL), | |
165 process_type_(process_type), | 164 process_type_(process_type), |
166 child_id_(child_id), | 165 child_id_(child_id), |
167 route_id_(route_id), | 166 route_id_(route_id), |
168 frame_tree_node_id_(frame_tree_node_id), | 167 frame_tree_node_id_(frame_tree_node_id), |
169 origin_pid_(origin_pid), | 168 origin_pid_(origin_pid), |
170 request_id_(request_id), | 169 request_id_(request_id), |
171 render_frame_id_(render_frame_id), | 170 render_frame_id_(render_frame_id), |
172 is_main_frame_(is_main_frame), | 171 is_main_frame_(is_main_frame), |
173 parent_is_main_frame_(parent_is_main_frame), | 172 parent_is_main_frame_(parent_is_main_frame), |
174 should_replace_current_entry_(should_replace_current_entry), | 173 should_replace_current_entry_(should_replace_current_entry), |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 origin_pid_ = origin_pid; | 341 origin_pid_ = origin_pid; |
343 request_id_ = request_id; | 342 request_id_ = request_id; |
344 filter_ = filter; | 343 filter_ = filter; |
345 } | 344 } |
346 | 345 |
347 void ResourceRequestInfoImpl::ResetBody() { | 346 void ResourceRequestInfoImpl::ResetBody() { |
348 body_ = nullptr; | 347 body_ = nullptr; |
349 } | 348 } |
350 | 349 |
351 } // namespace content | 350 } // namespace content |
OLD | NEW |