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_SYNC_SYNC_PREFS_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNC_PREFS_H_ |
6 #define CHROME_BROWSER_SYNC_SYNC_PREFS_H_ | 6 #define CHROME_BROWSER_SYNC_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/public/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.h" | 14 #include "base/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" | 16 #include "sync/notifier/invalidation_state_tracker.h" |
17 | 17 |
18 class PrefRegistrySyncable; | 18 class PrefRegistrySyncable; |
19 class PrefService; | 19 class PrefService; |
20 class ProfileIOData; | 20 class ProfileIOData; |
21 | 21 |
22 namespace browser_sync { | 22 namespace browser_sync { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // etc. | 166 // etc. |
167 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; | 167 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; |
168 PrefGroupsMap pref_groups_; | 168 PrefGroupsMap pref_groups_; |
169 | 169 |
170 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); | 170 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace browser_sync | 173 } // namespace browser_sync |
174 | 174 |
175 #endif // CHROME_BROWSER_SYNC_SYNC_PREFS_H_ | 175 #endif // CHROME_BROWSER_SYNC_SYNC_PREFS_H_ |
OLD | NEW |