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

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

Issue 82273002: Fix various issues in RedirectToFileResourceHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename test fixture Created 6 years, 9 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 | Annotate | Revision Log
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 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and
7 // dispatches them to URLRequests. It then forwards the messages from the 7 // dispatches them to URLRequests. It then forwards the messages from the
8 // URLRequests back to the correct process for handling. 8 // URLRequests back to the correct process for handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 // Cancels any blocked request for the specified route id. 180 // Cancels any blocked request for the specified route id.
181 void CancelBlockedRequestsForRoute(int child_id, int route_id); 181 void CancelBlockedRequestsForRoute(int child_id, int route_id);
182 182
183 // Maintains a collection of temp files created in support of 183 // Maintains a collection of temp files created in support of
184 // the download_to_file capability. Used to grant access to the 184 // the download_to_file capability. Used to grant access to the
185 // child process and to defer deletion of the file until it's 185 // child process and to defer deletion of the file until it's
186 // no longer needed. 186 // no longer needed.
187 void RegisterDownloadedTempFile( 187 void RegisterDownloadedTempFile(
188 int child_id, int request_id, 188 int child_id, int request_id,
189 webkit_blob::ShareableFileReference* reference); 189 const base::FilePath& file_path);
190 void UnregisterDownloadedTempFile(int child_id, int request_id); 190 void UnregisterDownloadedTempFile(int child_id, int request_id);
191 191
192 // Needed for the sync IPC message dispatcher macros. 192 // Needed for the sync IPC message dispatcher macros.
193 bool Send(IPC::Message* message); 193 bool Send(IPC::Message* message);
194 194
195 // Indicates whether third-party sub-content can pop-up HTTP basic auth 195 // Indicates whether third-party sub-content can pop-up HTTP basic auth
196 // dialog boxes. 196 // dialog boxes.
197 bool allow_cross_origin_auth_prompt(); 197 bool allow_cross_origin_auth_prompt();
198 198
199 ResourceDispatcherHostDelegate* delegate() { 199 ResourceDispatcherHostDelegate* delegate() {
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 typedef std::map<GlobalRoutingID, OfflinePolicy*> OfflineMap; 509 typedef std::map<GlobalRoutingID, OfflinePolicy*> OfflineMap;
510 510
511 OfflineMap offline_policy_map_; 511 OfflineMap offline_policy_map_;
512 512
513 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 513 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
514 }; 514 };
515 515
516 } // namespace content 516 } // namespace content
517 517
518 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 518 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/redirect_to_file_resource_handler.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698