| Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
|
| ===================================================================
|
| --- content/browser/renderer_host/resource_dispatcher_host_impl.h (revision 154444)
|
| +++ content/browser/renderer_host/resource_dispatcher_host_impl.h (working copy)
|
| @@ -35,6 +35,7 @@
|
| #include "net/url_request/url_request.h"
|
| #include "webkit/glue/resource_type.h"
|
|
|
| +class DownloadFileManager;
|
| class ResourceHandler;
|
| class SaveFileManager;
|
| class WebContentsImpl;
|
| @@ -143,6 +144,10 @@
|
| // request. Experimentally obtained.
|
| static const int kAvgBytesPerOutstandingRequest = 4400;
|
|
|
| + DownloadFileManager* download_file_manager() const {
|
| + return download_file_manager_;
|
| + }
|
| +
|
| SaveFileManager* save_file_manager() const {
|
| return save_file_manager_;
|
| }
|
| @@ -351,6 +356,9 @@
|
| scoped_ptr<base::RepeatingTimer<ResourceDispatcherHostImpl> >
|
| update_load_states_timer_;
|
|
|
| + // We own the download file writing thread and manager
|
| + scoped_refptr<DownloadFileManager> download_file_manager_;
|
| +
|
| // We own the save file manager.
|
| scoped_refptr<SaveFileManager> save_file_manager_;
|
|
|
|
|