| 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_MODEL_ASSOCIATOR_H_ | 5 #ifndef COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
| 6 #define COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 6 #define COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 14 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/macros.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
| 17 #include "components/syncable_prefs/synced_pref_observer.h" | 17 #include "components/syncable_prefs/synced_pref_observer.h" |
| 18 #include "sync/api/sync_data.h" | 18 #include "sync/api/sync_data.h" |
| 19 #include "sync/api/syncable_service.h" | 19 #include "sync/api/syncable_service.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class Value; | 22 class Value; |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 SyncedPrefObserverMap synced_pref_observers_; | 192 SyncedPrefObserverMap synced_pref_observers_; |
| 193 const PrefModelAssociatorClient* client_; // Weak. | 193 const PrefModelAssociatorClient* client_; // Weak. |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); | 195 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace syncable_prefs | 198 } // namespace syncable_prefs |
| 199 | 199 |
| 200 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 200 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
| OLD | NEW |