| 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 CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |
| 6 #define CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/browser/prefs/pref_registry.h" | 11 #include "base/prefs/pref_registry.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class DictionaryValue; | 14 class DictionaryValue; |
| 15 class FilePath; | 15 class FilePath; |
| 16 class ListValue; | 16 class ListValue; |
| 17 class Value; | 17 class Value; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // A PrefRegistry that forces users to choose whether each registered | 20 // A PrefRegistry that forces users to choose whether each registered |
| 21 // preference is syncable or not. | 21 // preference is syncable or not. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 SyncableRegistrationCallback callback_; | 102 SyncableRegistrationCallback callback_; |
| 103 | 103 |
| 104 // Contains the names of all registered preferences that are syncable. | 104 // Contains the names of all registered preferences that are syncable. |
| 105 std::set<std::string> syncable_preferences_; | 105 std::set<std::string> syncable_preferences_; |
| 106 | 106 |
| 107 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); | 107 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 #endif // CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ | 110 #endif // CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |
| OLD | NEW |