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_DRIVER_SHARED_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ |
6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
17 #include "components/sync/api/data_type_error_handler.h" | |
18 #include "components/sync/api/sync_change_processor.h" | |
19 #include "components/sync/api/sync_data.h" | |
20 #include "components/sync/api/sync_error.h" | |
21 #include "components/sync/api/sync_error_factory.h" | |
22 #include "components/sync/api/sync_merge_result.h" | |
23 #include "components/sync/driver/data_type_controller.h" | 17 #include "components/sync/driver/data_type_controller.h" |
24 #include "components/sync/engine/model_safe_worker.h" | 18 #include "components/sync/engine/model_safe_worker.h" |
| 19 #include "components/sync/model/data_type_error_handler.h" |
| 20 #include "components/sync/model/sync_change_processor.h" |
| 21 #include "components/sync/model/sync_data.h" |
| 22 #include "components/sync/model/sync_error.h" |
| 23 #include "components/sync/model/sync_error_factory.h" |
| 24 #include "components/sync/model/sync_merge_result.h" |
25 | 25 |
26 namespace syncer { | 26 namespace syncer { |
27 | 27 |
28 class ChangeProcessor; | 28 class ChangeProcessor; |
29 class GenericChangeProcessor; | 29 class GenericChangeProcessor; |
30 class GenericChangeProcessorFactory; | 30 class GenericChangeProcessorFactory; |
31 class SyncClient; | 31 class SyncClient; |
32 class SyncableService; | 32 class SyncableService; |
33 struct UserShare; | 33 struct UserShare; |
34 | 34 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // The local service for this type. Only set if the DTC for the type uses | 154 // The local service for this type. Only set if the DTC for the type uses |
155 // SharedChangeProcessor::StartAssociation(). | 155 // SharedChangeProcessor::StartAssociation(). |
156 base::WeakPtr<SyncableService> local_service_; | 156 base::WeakPtr<SyncableService> local_service_; |
157 | 157 |
158 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); | 158 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); |
159 }; | 159 }; |
160 | 160 |
161 } // namespace syncer | 161 } // namespace syncer |
162 | 162 |
163 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ | 163 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ |
OLD | NEW |