OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ | 5 #ifndef COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |
6 #define COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ | 6 #define COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "base/callback.h" |
11 #include "base/prefs/pref_registry.h" | 12 #include "base/prefs/pref_registry.h" |
12 #include "components/user_prefs/user_prefs_export.h" | 13 #include "components/user_prefs/user_prefs_export.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class DictionaryValue; | 16 class DictionaryValue; |
16 class FilePath; | 17 class FilePath; |
17 class ListValue; | 18 class ListValue; |
18 class Value; | 19 class Value; |
19 } | 20 } |
20 | 21 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 123 |
123 // Contains the names of all registered preferences that are syncable. | 124 // Contains the names of all registered preferences that are syncable. |
124 PrefToStatus syncable_preferences_; | 125 PrefToStatus syncable_preferences_; |
125 | 126 |
126 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); | 127 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); |
127 }; | 128 }; |
128 | 129 |
129 } // namespace user_prefs | 130 } // namespace user_prefs |
130 | 131 |
131 #endif // COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ | 132 #endif // COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |
OLD | NEW |