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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "base/prefs/pref_member.h" | 12 #include "base/prefs/pref_member.h" |
13 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "sync/internal_api/public/base/model_type.h" | 15 #include "sync/internal_api/public/base/model_type.h" |
16 #include "sync/notifier/invalidation_state_tracker.h" | |
17 | 16 |
18 class PrefService; | 17 class PrefService; |
19 class ProfileIOData; | 18 class ProfileIOData; |
20 | 19 |
21 namespace user_prefs { | 20 namespace user_prefs { |
22 class PrefRegistrySyncable; | 21 class PrefRegistrySyncable; |
23 } | 22 } |
24 | 23 |
25 namespace sync_driver { | 24 namespace sync_driver { |
26 | 25 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // etc. | 176 // etc. |
178 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; | 177 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; |
179 PrefGroupsMap pref_groups_; | 178 PrefGroupsMap pref_groups_; |
180 | 179 |
181 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); | 180 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); |
182 }; | 181 }; |
183 | 182 |
184 } // namespace browser_sync | 183 } // namespace browser_sync |
185 | 184 |
186 #endif // COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ | 185 #endif // COMPONENTS_SYNC_DRIVER_SYNC_PREFS_H_ |
OLD | NEW |