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

Unified Diff: chrome/browser/ui/gesture_prefs_observer_factory_aura.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/gesture_prefs_observer_factory_aura.h
diff --git a/chrome/browser/ui/gesture_prefs_observer_factory_aura.h b/chrome/browser/ui/gesture_prefs_observer_factory_aura.h
index 9e8fa0f08637e462470139684bf0a6e7d60d3552..62de59b8502f0843ed84856b7e32e45fdc402330 100644
--- a/chrome/browser/ui/gesture_prefs_observer_factory_aura.h
+++ b/chrome/browser/ui/gesture_prefs_observer_factory_aura.h
@@ -13,7 +13,8 @@ class PrefService;
class Profile;
// Create an observer per Profile that listens for gesture preferences updates.
-class GesturePrefsObserverFactoryAura : public ProfileKeyedServiceFactory {
+class GesturePrefsObserverFactoryAura
+ : public BrowserContextKeyedServiceFactory {
public:
static GesturePrefsObserverFactoryAura* GetInstance();
@@ -28,12 +29,12 @@ class GesturePrefsObserverFactoryAura : public ProfileKeyedServiceFactory {
void RegisterImmersiveModePrefs(user_prefs::PrefRegistrySyncable* registry);
void RegisterWorkspaceCyclerPrefs(user_prefs::PrefRegistrySyncable* registry);
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual void RegisterUserPrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
- virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
+ virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698