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

Unified Diff: content/public/browser/download_manager.h

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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/public/browser/download_manager.h
===================================================================
--- content/public/browser/download_manager.h (revision 117096)
+++ content/public/browser/download_manager.h (working copy)
@@ -43,8 +43,10 @@
#include "net/base/net_errors.h"
class DownloadFileManager;
+class DownloadIdFactory;
class DownloadManagerTest;
class DownloadRequestHandle;
+class DownloadStatusUpdater;
class GURL;
class TabContents;
struct DownloadCreateInfo;
@@ -61,6 +63,11 @@
public:
virtual ~DownloadManager() {}
+ static DownloadManager* Create(
+ DownloadManagerDelegate* delegate,
+ DownloadIdFactory* id_factory,
+ DownloadStatusUpdater* status_updater);
+
// Shutdown the download manager. Must be called before destruction.
virtual void Shutdown() = 0;

Powered by Google App Engine
This is Rietveld 408576698