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

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

Issue 10912173: Replace the DownloadFileManager with direct ownership of DownloadFileImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR (r162700) Created 8 years, 2 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 7c4701de6bd9727e2c318aae8c221a6be1d4f83e..4fc19302aceb245700eef7091a770429b64cf618 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_;
}
@@ -367,9 +362,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