diff options
Diffstat (limited to 'chrome/browser/prefs/pref_notifier_impl.h')
-rw-r--r-- | chrome/browser/prefs/pref_notifier_impl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/prefs/pref_notifier_impl.h b/chrome/browser/prefs/pref_notifier_impl.h index 8323fcb..b16ad11 100644 --- a/chrome/browser/prefs/pref_notifier_impl.h +++ b/chrome/browser/prefs/pref_notifier_impl.h @@ -14,7 +14,10 @@ #include "chrome/browser/prefs/pref_notifier.h" class PrefService; + +namespace content { class NotificationObserver; +} // The PrefNotifier implementation used by the PrefService. class PrefNotifierImpl : public PrefNotifier, @@ -25,8 +28,8 @@ class PrefNotifierImpl : public PrefNotifier, // If the pref at the given path changes, we call the observer's Observe // method with PREF_CHANGED. - void AddPrefObserver(const char* path, NotificationObserver* obs); - void RemovePrefObserver(const char* path, NotificationObserver* obs); + void AddPrefObserver(const char* path, content::NotificationObserver* obs); + void RemovePrefObserver(const char* path, content::NotificationObserver* obs); // PrefNotifier overrides. virtual void OnPreferenceChanged(const std::string& pref_name); @@ -36,7 +39,7 @@ class PrefNotifierImpl : public PrefNotifier, // A map from pref names to a list of observers. Observers get fired in the // order they are added. These should only be accessed externally for unit // testing. - typedef ObserverList<NotificationObserver> NotificationObserverList; + typedef ObserverList<content::NotificationObserver> NotificationObserverList; typedef base::hash_map<std::string, NotificationObserverList*> PrefObserverMap; |