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

Unified Diff: chrome/browser/download/download_service.h

Issue 8372073: Merge 8401001 r107836 into branch 912: Fix history importing by delaying DownloadManager creation. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/912/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/download/download_manager_unittest.cc ('k') | chrome/browser/download/download_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_service.h
===================================================================
--- chrome/browser/download/download_service.h (revision 108294)
+++ chrome/browser/download/download_service.h (working copy)
@@ -14,6 +14,7 @@
class ChromeDownloadManagerDelegate;
class DownloadManager;
class Profile;
+class DownloadIdFactory;
// Owning class for DownloadManager (content) and
// ChromeDownloadManagerDelegate (chrome)
@@ -22,6 +23,8 @@
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();
@@ -40,6 +43,8 @@
virtual void Shutdown() OVERRIDE;
private:
+ scoped_refptr<DownloadIdFactory> id_factory_;
+
bool download_manager_created_;
Profile* profile_;
« no previous file with comments | « chrome/browser/download/download_manager_unittest.cc ('k') | chrome/browser/download/download_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698