OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ENGINE_IMPL_MODEL_TYPE_REGISTRY_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_REGISTRY_H_ |
6 #define COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_REGISTRY_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "components/sync/base/model_type.h" | 16 #include "components/sync/base/model_type.h" |
17 #include "components/sync/core/model_type_connector.h" | |
18 #include "components/sync/core/non_blocking_sync_common.h" | |
19 #include "components/sync/core/sync_encryption_handler.h" | |
20 #include "components/sync/engine/cycle/type_debug_info_observer.h" | 17 #include "components/sync/engine/cycle/type_debug_info_observer.h" |
21 #include "components/sync/engine/model_safe_worker.h" | 18 #include "components/sync/engine/model_safe_worker.h" |
| 19 #include "components/sync/engine/model_type_connector.h" |
| 20 #include "components/sync/engine/non_blocking_sync_common.h" |
| 21 #include "components/sync/engine/sync_encryption_handler.h" |
22 #include "components/sync/engine_impl/nudge_handler.h" | 22 #include "components/sync/engine_impl/nudge_handler.h" |
23 | 23 |
24 namespace syncer { | 24 namespace syncer { |
25 class ModelTypeProcessor; | 25 class ModelTypeProcessor; |
26 class ModelTypeWorker; | 26 class ModelTypeWorker; |
27 struct ModelTypeState; | 27 struct ModelTypeState; |
28 } | 28 } |
29 | 29 |
30 namespace syncer { | 30 namespace syncer { |
31 | 31 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 base::ObserverList<TypeDebugInfoObserver> type_debug_info_observers_; | 159 base::ObserverList<TypeDebugInfoObserver> type_debug_info_observers_; |
160 | 160 |
161 base::WeakPtrFactory<ModelTypeRegistry> weak_ptr_factory_; | 161 base::WeakPtrFactory<ModelTypeRegistry> weak_ptr_factory_; |
162 | 162 |
163 DISALLOW_COPY_AND_ASSIGN(ModelTypeRegistry); | 163 DISALLOW_COPY_AND_ASSIGN(ModelTypeRegistry); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace syncer | 166 } // namespace syncer |
167 | 167 |
168 #endif // COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_REGISTRY_H_ | 168 #endif // COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_REGISTRY_H_ |
OLD | NEW |