| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_PREFS_PREF_NOTIFIER_IMPL_H_ | 5 #ifndef BASE_PREFS_PREF_NOTIFIER_IMPL_H_ |
| 6 #define BASE_PREFS_PREF_NOTIFIER_IMPL_H_ | 6 #define BASE_PREFS_PREF_NOTIFIER_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 15 #include "base/prefs/base_prefs_export.h" | 15 #include "base/prefs/base_prefs_export.h" |
| 16 #include "base/prefs/pref_notifier.h" | 16 #include "base/prefs/pref_notifier.h" |
| 17 #include "base/prefs/pref_observer.h" | 17 #include "base/prefs/pref_observer.h" |
| 18 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 19 | 19 |
| 20 class PrefService; | 20 class PrefService; |
| 21 | 21 |
| 22 // The PrefNotifier implementation used by the PrefService. | 22 // The PrefNotifier implementation used by the PrefService. |
| 23 class BASE_PREFS_EXPORT PrefNotifierImpl | 23 class BASE_PREFS_EXPORT PrefNotifierImpl |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 PrefObserverMap pref_observers_; | 65 PrefObserverMap pref_observers_; |
| 66 PrefInitObserverList init_observers_; | 66 PrefInitObserverList init_observers_; |
| 67 | 67 |
| 68 base::ThreadChecker thread_checker_; | 68 base::ThreadChecker thread_checker_; |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(PrefNotifierImpl); | 70 DISALLOW_COPY_AND_ASSIGN(PrefNotifierImpl); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 #endif // BASE_PREFS_PREF_NOTIFIER_IMPL_H_ | 73 #endif // BASE_PREFS_PREF_NOTIFIER_IMPL_H_ |
| OLD | NEW |