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/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
15 #include "components/sync_driver/data_type_error_handler.h" | 16 #include "components/sync_driver/data_type_error_handler.h" |
16 #include "sync/api/sync_change_processor.h" | 17 #include "sync/api/sync_change_processor.h" |
17 #include "sync/api/sync_data.h" | 18 #include "sync/api/sync_data.h" |
18 #include "sync/api/sync_error.h" | 19 #include "sync/api/sync_error.h" |
19 #include "sync/api/sync_error_factory.h" | 20 #include "sync/api/sync_error_factory.h" |
20 #include "sync/api/sync_merge_result.h" | 21 #include "sync/api/sync_merge_result.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 GenericChangeProcessor* generic_change_processor_; | 136 GenericChangeProcessor* generic_change_processor_; |
136 | 137 |
137 DataTypeErrorHandler* error_handler_; | 138 DataTypeErrorHandler* error_handler_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); | 140 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace sync_driver | 143 } // namespace sync_driver |
143 | 144 |
144 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ | 145 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_ |
OLD | NEW |