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

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

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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: chrome/browser/download/download_service_factory.h
diff --git a/chrome/browser/download/download_service_factory.h b/chrome/browser/download/download_service_factory.h
index fee17c00ab22c2055c5add2ba4cab0e7cb0d7cb8..f98803f93f60464177bc40270c4ccf764ebdd255 100644
--- a/chrome/browser/download/download_service_factory.h
+++ b/chrome/browser/download/download_service_factory.h
@@ -15,7 +15,7 @@ class Profile;
// Singleton that owns all DownloadServices and associates them with
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated DownloadService.
-class DownloadServiceFactory : public ProfileKeyedServiceFactory {
+class DownloadServiceFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the DownloadService for |profile|, creating if not yet created.
static DownloadService* GetForProfile(Profile* profile);
@@ -23,8 +23,8 @@ class DownloadServiceFactory : public ProfileKeyedServiceFactory {
static DownloadServiceFactory* GetInstance();
protected:
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698