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_SYNC_DRIVER_SYNC_PREFS_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ |
6 #define COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/prefs/pref_member.h" | |
18 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
19 #include "base/time/time.h" | 18 #include "base/time/time.h" |
20 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "components/prefs/pref_member.h" |
21 #include "sync/internal_api/public/base/model_type.h" | 21 #include "sync/internal_api/public/base/model_type.h" |
22 #include "sync/internal_api/public/sync_encryption_handler.h" | 22 #include "sync/internal_api/public/sync_encryption_handler.h" |
23 | 23 |
24 class PrefService; | 24 class PrefService; |
25 class ProfileIOData; | 25 class ProfileIOData; |
26 | 26 |
27 namespace user_prefs { | 27 namespace user_prefs { |
28 class PrefRegistrySyncable; | 28 class PrefRegistrySyncable; |
29 } | 29 } |
30 | 30 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 // etc. | 220 // etc. |
221 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; | 221 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; |
222 PrefGroupsMap pref_groups_; | 222 PrefGroupsMap pref_groups_; |
223 | 223 |
224 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); | 224 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); |
225 }; | 225 }; |
226 | 226 |
227 } // namespace sync_driver | 227 } // namespace sync_driver |
228 | 228 |
229 #endif // COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ | 229 #endif // COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ |
OLD | NEW |