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

Unified Diff: chrome/browser/api/prefs/pref_change_registrar.h

Issue 10828345: Extract PrefServiceBase into chrome/browser/api. Use in api and autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 4 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
« no previous file with comments | « chrome/browser/api/prefs/DEPS ('k') | chrome/browser/api/prefs/pref_change_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/api/prefs/pref_change_registrar.h
diff --git a/chrome/browser/api/prefs/pref_change_registrar.h b/chrome/browser/api/prefs/pref_change_registrar.h
index 0b17d0da1eb6c49186ec7b156b882e54b3bbf98d..6f2d29642f4d46156ddda1ac9f09fc4cbb64b9f9 100644
--- a/chrome/browser/api/prefs/pref_change_registrar.h
+++ b/chrome/browser/api/prefs/pref_change_registrar.h
@@ -10,7 +10,7 @@
#include "base/basictypes.h"
-class PrefService;
+class PrefServiceBase;
namespace content {
class NotificationObserver;
@@ -27,7 +27,7 @@ class PrefChangeRegistrar {
// Must be called before adding or removing observers. Can be called more
// than once as long as the value of |service| doesn't change.
- void Init(PrefService* service);
+ void Init(PrefServiceBase* service);
// Adds an pref observer for the specified pref |path| and |obs| observer
// object. All registered observers will be automatically unregistered
@@ -52,7 +52,7 @@ class PrefChangeRegistrar {
ObserverRegistration;
std::set<ObserverRegistration> observers_;
- PrefService* service_;
+ PrefServiceBase* service_;
DISALLOW_COPY_AND_ASSIGN(PrefChangeRegistrar);
};
« no previous file with comments | « chrome/browser/api/prefs/DEPS ('k') | chrome/browser/api/prefs/pref_change_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698