diff options
Diffstat (limited to 'base/prefs/pref_notifier_impl.h')
-rw-r--r-- | base/prefs/pref_notifier_impl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/prefs/pref_notifier_impl.h b/base/prefs/pref_notifier_impl.h index 8e6f090..8f5120a 100644 --- a/base/prefs/pref_notifier_impl.h +++ b/base/prefs/pref_notifier_impl.h @@ -15,14 +15,13 @@ #include "base/prefs/base_prefs_export.h" #include "base/prefs/pref_notifier.h" #include "base/prefs/pref_observer.h" -#include "base/threading/non_thread_safe.h" +#include "base/threading/thread_checker.h" class PrefService; // The PrefNotifier implementation used by the PrefService. class BASE_PREFS_EXPORT PrefNotifierImpl - : public NON_EXPORTED_BASE(PrefNotifier), - public base::NonThreadSafe { + : public NON_EXPORTED_BASE(PrefNotifier) { public: PrefNotifierImpl(); explicit PrefNotifierImpl(PrefService* pref_service); @@ -66,6 +65,8 @@ class BASE_PREFS_EXPORT PrefNotifierImpl PrefObserverMap pref_observers_; PrefInitObserverList init_observers_; + base::ThreadChecker thread_checker_; + DISALLOW_COPY_AND_ASSIGN(PrefNotifierImpl); }; |