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_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_ | 5 #ifndef COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_ |
6 #define COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_ | 6 #define COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/prefs/pref_service.h" | |
15 #include "components/pref_registry/pref_registry_syncable.h" | 14 #include "components/pref_registry/pref_registry_syncable.h" |
| 15 #include "components/prefs/pref_service.h" |
16 #include "components/syncable_prefs/pref_model_associator.h" | 16 #include "components/syncable_prefs/pref_model_associator.h" |
17 #include "components/syncable_prefs/synced_pref_observer.h" | 17 #include "components/syncable_prefs/synced_pref_observer.h" |
18 | 18 |
19 namespace syncer { | 19 namespace syncer { |
20 class SyncableService; | 20 class SyncableService; |
21 } | 21 } |
22 | 22 |
23 namespace syncable_prefs { | 23 namespace syncable_prefs { |
24 | 24 |
25 class PrefModelAssociatorClient; | 25 class PrefModelAssociatorClient; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 PrefModelAssociator priority_pref_sync_associator_; | 110 PrefModelAssociator priority_pref_sync_associator_; |
111 | 111 |
112 base::ObserverList<PrefServiceSyncableObserver> observer_list_; | 112 base::ObserverList<PrefServiceSyncableObserver> observer_list_; |
113 | 113 |
114 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable); | 114 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable); |
115 }; | 115 }; |
116 | 116 |
117 } // namespace syncable_prefs | 117 } // namespace syncable_prefs |
118 | 118 |
119 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_ | 119 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_ |
OLD | NEW |