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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "sync/api/sync_change_processor.h" | 16 #include "components/sync/api/sync_change_processor.h" |
17 #include "sync/api/sync_data.h" | 17 #include "components/sync/api/sync_data.h" |
18 #include "sync/api/sync_error.h" | 18 #include "components/sync/api/sync_error.h" |
19 #include "sync/api/sync_error_factory.h" | 19 #include "components/sync/api/sync_error_factory.h" |
20 #include "sync/api/sync_merge_result.h" | 20 #include "components/sync/api/sync_merge_result.h" |
21 #include "sync/internal_api/public/engine/model_safe_worker.h" | 21 #include "components/sync/engine/model_safe_worker.h" |
22 | 22 |
23 namespace syncer { | 23 namespace syncer { |
24 class DataTypeErrorHandler; | 24 class DataTypeErrorHandler; |
25 class SyncableService; | 25 class SyncableService; |
26 struct UserShare; | 26 struct UserShare; |
27 } // namespace syncer | 27 } // namespace syncer |
28 | 28 |
29 namespace sync_driver { | 29 namespace sync_driver { |
30 | 30 |
31 class ChangeProcessor; | 31 class ChangeProcessor; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 GenericChangeProcessor* generic_change_processor_; | 135 GenericChangeProcessor* generic_change_processor_; |
136 | 136 |
137 syncer::DataTypeErrorHandler* error_handler_; | 137 syncer::DataTypeErrorHandler* error_handler_; |
138 | 138 |
139 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); | 139 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); |
140 }; | 140 }; |
141 | 141 |
142 } // namespace sync_driver | 142 } // namespace sync_driver |
143 | 143 |
144 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ | 144 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ |
OLD | NEW |