| 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 <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "components/sync/api/sync_data.h" |
| 21 #include "components/sync/api/syncable_service.h" |
| 20 #include "components/syncable_prefs/synced_pref_observer.h" | 22 #include "components/syncable_prefs/synced_pref_observer.h" |
| 21 #include "sync/api/sync_data.h" | |
| 22 #include "sync/api/syncable_service.h" | |
| 23 | 23 |
| 24 namespace base { | 24 namespace base { |
| 25 class Value; | 25 class Value; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace sync_pb { | 28 namespace sync_pb { |
| 29 class PreferenceSpecifics; | 29 class PreferenceSpecifics; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace syncable_prefs { | 32 namespace syncable_prefs { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 const PrefModelAssociatorClient* client_; // Weak. | 200 const PrefModelAssociatorClient* client_; // Weak. |
| 201 | 201 |
| 202 std::vector<base::Closure> callback_list_; | 202 std::vector<base::Closure> callback_list_; |
| 203 | 203 |
| 204 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); | 204 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 } // namespace syncable_prefs | 207 } // namespace syncable_prefs |
| 208 | 208 |
| 209 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 209 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
| OLD | NEW |