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

Unified Diff: chrome/browser/ui/gesture_prefs_observer_factory_aura.h

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again; base::File changes conflicted. Created 7 years, 10 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 1e069ded01785563887866cd3e78732ee7aabbdf..46364ecd000a1fcb4272bc2475056a017b482acc 100644
--- a/chrome/browser/ui/gesture_prefs_observer_factory_aura.h
+++ b/chrome/browser/ui/gesture_prefs_observer_factory_aura.h
@@ -9,7 +9,8 @@
#include "base/memory/singleton.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
-class PrefServiceSyncable;
+class PrefRegistrySyncable;
+class PrefService;
class Profile;
// Create an observer per Profile that listens for gesture preferences updates.
@@ -23,13 +24,15 @@ class GesturePrefsObserverFactoryAura : public ProfileKeyedServiceFactory {
GesturePrefsObserverFactoryAura();
virtual ~GesturePrefsObserverFactoryAura();
- void RegisterOverscrollPrefs(PrefServiceSyncable* prefs);
- void RegisterFlingCurveParameters(PrefServiceSyncable* prefs);
+ void RegisterOverscrollPrefs(PrefRegistrySyncable* prefs);
+ void RegisterFlingCurveParameters(PrefRegistrySyncable* prefs);
// ProfileKeyedServiceFactory:
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefServiceSyncable* prefs) OVERRIDE;
+ virtual void DeprecatedRegisterUserPrefs(
+ PrefService* prefs,
+ PrefRegistrySyncable* registry) OVERRIDE;
virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
« no previous file with comments | « chrome/browser/ui/cocoa/window_size_autosaver_unittest.mm ('k') | chrome/browser/ui/gesture_prefs_observer_factory_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698