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 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 } | 111 } |
112 | 112 |
113 // Updates the data associated with this request after it is is transferred | 113 // Updates the data associated with this request after it is is transferred |
114 // to a new renderer process. Not all data will change during a transfer. | 114 // to a new renderer process. Not all data will change during a transfer. |
115 // We do not expect the ResourceContext to change during navigation, so that | 115 // We do not expect the ResourceContext to change during navigation, so that |
116 // does not need to be updated. | 116 // does not need to be updated. |
117 void UpdateForTransfer(int child_id, | 117 void UpdateForTransfer(int child_id, |
118 int route_id, | 118 int route_id, |
119 int origin_pid, | 119 int origin_pid, |
120 int request_id, | 120 int request_id, |
| 121 int render_frame_id, |
121 int parent_render_frame_id, | 122 int parent_render_frame_id, |
122 base::WeakPtr<ResourceMessageFilter> filter); | 123 base::WeakPtr<ResourceMessageFilter> filter); |
123 | 124 |
124 // CrossSiteResourceHandler for this request. May be null. | 125 // CrossSiteResourceHandler for this request. May be null. |
125 CrossSiteResourceHandler* cross_site_handler() { | 126 CrossSiteResourceHandler* cross_site_handler() { |
126 return cross_site_handler_; | 127 return cross_site_handler_; |
127 } | 128 } |
128 void set_cross_site_handler(CrossSiteResourceHandler* h) { | 129 void set_cross_site_handler(CrossSiteResourceHandler* h) { |
129 cross_site_handler_ = h; | 130 cross_site_handler_ = h; |
130 } | 131 } |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 bool is_async_; | 229 bool is_async_; |
229 bool is_using_lofi_; | 230 bool is_using_lofi_; |
230 const std::string original_headers_; | 231 const std::string original_headers_; |
231 | 232 |
232 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 233 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
233 }; | 234 }; |
234 | 235 |
235 } // namespace content | 236 } // namespace content |
236 | 237 |
237 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 238 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
OLD | NEW |