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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.h

Issue 10799005: Replace the DownloadFileManager with direct ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.h b/content/browser/renderer_host/resource_dispatcher_host_impl.h
index 8b82c1043b8a6a3a1160ff71ed9cd835eb1101d3..8604d2f692e6f17a97b8e25f453fb9022fa5164e 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.h
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.h
@@ -35,7 +35,6 @@
#include "net/url_request/url_request.h"
#include "webkit/glue/resource_type.h"
-class DownloadFileManager;
class ResourceHandler;
class SaveFileManager;
class WebContentsImpl;
@@ -144,10 +143,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// 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_;
}
@@ -356,9 +351,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
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_;
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/renderer_host/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698