| 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 // 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   83   void SetDelegate(ResourceDispatcherHostDelegate* delegate) override; |   83   void SetDelegate(ResourceDispatcherHostDelegate* delegate) override; | 
|   84   void SetAllowCrossOriginAuthPrompt(bool value) override; |   84   void SetAllowCrossOriginAuthPrompt(bool value) override; | 
|   85   DownloadInterruptReason BeginDownload( |   85   DownloadInterruptReason BeginDownload( | 
|   86       scoped_ptr<net::URLRequest> request, |   86       scoped_ptr<net::URLRequest> request, | 
|   87       const Referrer& referrer, |   87       const Referrer& referrer, | 
|   88       bool is_content_initiated, |   88       bool is_content_initiated, | 
|   89       ResourceContext* context, |   89       ResourceContext* context, | 
|   90       int child_id, |   90       int child_id, | 
|   91       int route_id, |   91       int route_id, | 
|   92       bool prefer_cache, |   92       bool prefer_cache, | 
 |   93       bool do_not_prompt_for_login, | 
|   93       scoped_ptr<DownloadSaveInfo> save_info, |   94       scoped_ptr<DownloadSaveInfo> save_info, | 
|   94       uint32 download_id, |   95       uint32 download_id, | 
|   95       const DownloadStartedCallback& started_callback) override; |   96       const DownloadStartedCallback& started_callback) override; | 
|   96   void ClearLoginDelegateForRequest(net::URLRequest* request) override; |   97   void ClearLoginDelegateForRequest(net::URLRequest* request) override; | 
|   97   void BlockRequestsForRoute(int child_id, int route_id) override; |   98   void BlockRequestsForRoute(int child_id, int route_id) override; | 
|   98   void ResumeBlockedRequestsForRoute(int child_id, int route_id) override; |   99   void ResumeBlockedRequestsForRoute(int child_id, int route_id) override; | 
|   99  |  100  | 
|  100   // Puts the resource dispatcher host in an inactive state (unable to begin |  101   // Puts the resource dispatcher host in an inactive state (unable to begin | 
|  101   // new requests).  Cancels all pending requests. |  102   // new requests).  Cancels all pending requests. | 
|  102   void Shutdown(); |  103   void Shutdown(); | 
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  549   DelegateMap delegate_map_; |  550   DelegateMap delegate_map_; | 
|  550  |  551  | 
|  551   scoped_ptr<ResourceScheduler> scheduler_; |  552   scoped_ptr<ResourceScheduler> scheduler_; | 
|  552  |  553  | 
|  553   DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |  554   DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 
|  554 }; |  555 }; | 
|  555  |  556  | 
|  556 }  // namespace content |  557 }  // namespace content | 
|  557  |  558  | 
|  558 #endif  // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ |  559 #endif  // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 
| OLD | NEW |