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

Side by Side Diff: content/browser/loader/resource_request_info_impl.h

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just comments / minor restructuring (trybots previous) Created 4 years, 11 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 #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/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698