OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_list.h" | 10 #include "base/callback_list.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/prefs/pref_store.h" | |
14 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/supervised_user/supervised_users.h" | 14 #include "chrome/browser/supervised_user/supervised_users.h" |
| 15 #include "components/prefs/pref_store.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class DictionaryValue; | 20 class DictionaryValue; |
21 class Value; | 21 class Value; |
22 } | 22 } |
23 | 23 |
24 class PrefValueMap; | 24 class PrefValueMap; |
25 class SupervisedUserSettingsService; | 25 class SupervisedUserSettingsService; |
(...skipping 27 matching lines...) Expand all Loading... |
53 scoped_ptr<base::CallbackList<void( | 53 scoped_ptr<base::CallbackList<void( |
54 const base::DictionaryValue*)>::Subscription> user_settings_subscription_; | 54 const base::DictionaryValue*)>::Subscription> user_settings_subscription_; |
55 content::NotificationRegistrar unsubscriber_registrar_; | 55 content::NotificationRegistrar unsubscriber_registrar_; |
56 | 56 |
57 scoped_ptr<PrefValueMap> prefs_; | 57 scoped_ptr<PrefValueMap> prefs_; |
58 | 58 |
59 base::ObserverList<PrefStore::Observer, true> observers_; | 59 base::ObserverList<PrefStore::Observer, true> observers_; |
60 }; | 60 }; |
61 | 61 |
62 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ | 62 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ |
OLD | NEW |