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 SYNC_API_MODEL_TYPE_SERVICE_H_ | 5 #ifndef COMPONENTS_SYNC_API_MODEL_TYPE_SERVICE_H_ |
6 #define SYNC_API_MODEL_TYPE_SERVICE_H_ | 6 #define COMPONENTS_SYNC_API_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 "sync/api/conflict_resolution.h" | 13 #include "components/sync/api/conflict_resolution.h" |
14 #include "sync/api/entity_change.h" | 14 #include "components/sync/api/entity_change.h" |
15 #include "sync/api/entity_data.h" | 15 #include "components/sync/api/entity_data.h" |
16 #include "sync/api/model_type_change_processor.h" | 16 #include "components/sync/api/model_type_change_processor.h" |
17 #include "sync/api/sync_error.h" | 17 #include "components/sync/api/sync_error.h" |
18 #include "sync/base/sync_export.h" | 18 #include "components/sync/base/sync_export.h" |
19 #include "sync/internal_api/public/activation_context.h" | 19 #include "components/sync/core/activation_context.h" |
20 | 20 |
21 namespace syncer { | 21 namespace syncer { |
22 class DataTypeErrorHandler; | 22 class DataTypeErrorHandler; |
23 } // namespace syncer | 23 } // namespace syncer |
24 | 24 |
25 namespace syncer_v2 { | 25 namespace syncer_v2 { |
26 | 26 |
27 class DataBatch; | 27 class DataBatch; |
28 class MetadataChangeList; | 28 class MetadataChangeList; |
29 | 29 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 private: | 118 private: |
119 std::unique_ptr<ModelTypeChangeProcessor> change_processor_; | 119 std::unique_ptr<ModelTypeChangeProcessor> change_processor_; |
120 | 120 |
121 ChangeProcessorFactory change_processor_factory_; | 121 ChangeProcessorFactory change_processor_factory_; |
122 | 122 |
123 const syncer::ModelType type_; | 123 const syncer::ModelType type_; |
124 }; | 124 }; |
125 | 125 |
126 } // namespace syncer_v2 | 126 } // namespace syncer_v2 |
127 | 127 |
128 #endif // SYNC_API_MODEL_TYPE_SERVICE_H_ | 128 #endif // COMPONENTS_SYNC_API_MODEL_TYPE_SERVICE_H_ |
OLD | NEW |