Index: chrome/browser/download/download_service.h |
diff --git a/chrome/browser/download/download_service.h b/chrome/browser/download/download_service.h |
index 2cc65706f09b5324f90b5e168156ed945f132f21..2317de1a92bf7b374874c72e6d641b02575f3455 100644 |
--- a/chrome/browser/download/download_service.h |
+++ b/chrome/browser/download/download_service.h |
@@ -14,6 +14,7 @@ |
class ChromeDownloadManagerDelegate; |
class DownloadManager; |
class Profile; |
+class DownloadIdFactory; |
// Owning class for DownloadManager (content) and |
// ChromeDownloadManagerDelegate (chrome) |
@@ -22,6 +23,8 @@ class DownloadService : public ProfileKeyedService { |
explicit DownloadService(Profile* profile); |
virtual ~DownloadService(); |
+ DownloadIdFactory* GetDownloadIdFactory() const; |
+ |
// Get the download manager. Creates the download manager if |
// it does not already exist. |
DownloadManager* GetDownloadManager(); |
@@ -46,6 +49,8 @@ class DownloadService : public ProfileKeyedService { |
virtual void Shutdown() OVERRIDE; |
private: |
+ scoped_refptr<DownloadIdFactory> id_factory_; |
+ |
bool download_manager_created_; |
Profile* profile_; |