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

Unified Diff: apps/app_restore_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: apps/app_restore_service_factory.h
diff --git a/apps/app_restore_service_factory.h b/apps/app_restore_service_factory.h
index 5076753513d115360d2bc69a28a50f50fa03511e..6012904e815e9093a6276d751da7996ca42ae592 100644
--- a/apps/app_restore_service_factory.h
+++ b/apps/app_restore_service_factory.h
@@ -17,7 +17,7 @@ class AppRestoreService;
// Singleton that owns all AppRestoreServices and associates them with
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated AppRestoreService.
-class AppRestoreServiceFactory : public ProfileKeyedServiceFactory {
+class AppRestoreServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static AppRestoreService* GetForProfile(Profile* profile);
@@ -31,10 +31,10 @@ class AppRestoreServiceFactory : public ProfileKeyedServiceFactory {
AppRestoreServiceFactory();
virtual ~AppRestoreServiceFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
- virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
+ virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
};
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698