diff options
Diffstat (limited to 'chrome/browser/prefs/pref_service.h')
-rw-r--r-- | chrome/browser/prefs/pref_service.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h index 5361928..3002e9d 100644 --- a/chrome/browser/prefs/pref_service.h +++ b/chrome/browser/prefs/pref_service.h @@ -19,7 +19,6 @@ class DefaultPrefStore; class FilePath; -class NotificationObserver; class PersistentPrefStore; class PrefModelAssociator; class PrefNotifier; @@ -29,6 +28,10 @@ class PrefValueStore; class Profile; class SyncableService; +namespace content { +class NotificationObserver; +} + namespace subtle { class PrefMemberBase; class ScopedUserPrefUpdateBase; @@ -348,8 +351,10 @@ class PrefService : public base::NonThreadSafe { // method with PREF_CHANGED. Note that observers should not call these methods // directly but rather use a PrefChangeRegistrar to make sure the observer // gets cleaned up properly. - virtual void AddPrefObserver(const char* path, NotificationObserver* obs); - virtual void RemovePrefObserver(const char* path, NotificationObserver* obs); + virtual void AddPrefObserver(const char* path, + content::NotificationObserver* obs); + virtual void RemovePrefObserver(const char* path, + content::NotificationObserver* obs); // Registers a new preference at |path|. The |default_value| must not be // NULL as it determines the preference value's type. |