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

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: Fixed try job problems. Created 8 years, 5 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 0b75399183ca421527e4a38ccefd1fdba06b32f1..9e14d6998103d0d1570b13b058f01706133fb17a 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;
@@ -146,10 +145,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_;
}
@@ -358,9 +353,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_;

Powered by Google App Engine
This is Rietveld 408576698