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

Unified Diff: chrome/browser/ui/ash/app_sync_ui_state_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/ui/ash/app_sync_ui_state_factory.h
diff --git a/chrome/browser/ui/ash/app_sync_ui_state_factory.h b/chrome/browser/ui/ash/app_sync_ui_state_factory.h
index bcadd936f7f5e6e263cbe11cafae8631b3984968..2278f102c0546d07b4d1f6392ca1b9392fb6c96e 100644
--- a/chrome/browser/ui/ash/app_sync_ui_state_factory.h
+++ b/chrome/browser/ui/ash/app_sync_ui_state_factory.h
@@ -14,7 +14,7 @@ class AppSyncUIState;
class Profile;
// Singleton that owns all AppSyncUIStates and associates them with profiles.
-class AppSyncUIStateFactory : public ProfileKeyedServiceFactory {
+class AppSyncUIStateFactory : public BrowserContextKeyedServiceFactory {
public:
static AppSyncUIState* GetForProfile(Profile* profile);
@@ -26,8 +26,8 @@ class AppSyncUIStateFactory : public ProfileKeyedServiceFactory {
AppSyncUIStateFactory();
virtual ~AppSyncUIStateFactory();
- // ProfileKeyedServiceFactory overrides:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory overrides:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AppSyncUIStateFactory);

Powered by Google App Engine
This is Rietveld 408576698