| 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> |
| 9 |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 10 #include "base/prefs/pref_store.h" | 12 #include "base/prefs/pref_store.h" |
| 11 #include "chrome/browser/supervised_user/supervised_users.h" | 13 #include "chrome/browser/supervised_user/supervised_users.h" |
| 12 | 14 |
| 13 namespace base { | 15 namespace base { |
| 14 class DictionaryValue; | 16 class DictionaryValue; |
| 15 class Value; | 17 class Value; |
| 16 } | 18 } |
| 17 | 19 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 void OnNewSettingsAvailable(const base::DictionaryValue* settings); | 41 void OnNewSettingsAvailable(const base::DictionaryValue* settings); |
| 40 | 42 |
| 41 scoped_ptr<PrefValueMap> prefs_; | 43 scoped_ptr<PrefValueMap> prefs_; |
| 42 | 44 |
| 43 ObserverList<PrefStore::Observer, true> observers_; | 45 ObserverList<PrefStore::Observer, true> observers_; |
| 44 | 46 |
| 45 base::WeakPtrFactory<SupervisedUserPrefStore> weak_ptr_factory_; | 47 base::WeakPtrFactory<SupervisedUserPrefStore> weak_ptr_factory_; |
| 46 }; | 48 }; |
| 47 | 49 |
| 48 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ | 50 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ |
| OLD | NEW |