OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MODEL_MODEL_TYPE_SERVICE_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_MODEL_TYPE_SERVICE_H_ |
6 #define COMPONENTS_SYNC_MODEL_MODEL_TYPE_SERVICE_H_ | 6 #define COMPONENTS_SYNC_MODEL_MODEL_TYPE_SERVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "components/sync/core/activation_context.h" | 14 #include "components/sync/engine/activation_context.h" |
15 #include "components/sync/model/conflict_resolution.h" | 15 #include "components/sync/model/conflict_resolution.h" |
16 #include "components/sync/model/data_type_error_handler.h" | 16 #include "components/sync/model/data_type_error_handler.h" |
17 #include "components/sync/model/entity_change.h" | 17 #include "components/sync/model/entity_change.h" |
18 #include "components/sync/model/entity_data.h" | 18 #include "components/sync/model/entity_data.h" |
19 #include "components/sync/model/model_type_change_processor.h" | 19 #include "components/sync/model/model_type_change_processor.h" |
20 #include "components/sync/model/sync_error.h" | 20 #include "components/sync/model/sync_error.h" |
21 | 21 |
22 namespace syncer { | 22 namespace syncer { |
23 | 23 |
24 class DataBatch; | 24 class DataBatch; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 const ModelType type_; | 120 const ModelType type_; |
121 | 121 |
122 const ChangeProcessorFactory change_processor_factory_; | 122 const ChangeProcessorFactory change_processor_factory_; |
123 | 123 |
124 std::unique_ptr<ModelTypeChangeProcessor> change_processor_; | 124 std::unique_ptr<ModelTypeChangeProcessor> change_processor_; |
125 }; | 125 }; |
126 | 126 |
127 } // namespace syncer | 127 } // namespace syncer |
128 | 128 |
129 #endif // COMPONENTS_SYNC_MODEL_MODEL_TYPE_SERVICE_H_ | 129 #endif // COMPONENTS_SYNC_MODEL_MODEL_TYPE_SERVICE_H_ |
OLD | NEW |