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_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ |
6 #define COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "components/sync/base/model_type.h" | 11 #include "components/sync/base/model_type.h" |
12 #include "components/sync/core/activation_context.h" | 12 #include "components/sync/engine/activation_context.h" |
13 #include "components/sync/model/data_type_error_handler.h" | 13 #include "components/sync/model/data_type_error_handler.h" |
14 #include "components/sync/model/entity_data.h" | 14 #include "components/sync/model/entity_data.h" |
15 #include "components/sync/model/sync_error_factory.h" | 15 #include "components/sync/model/sync_error_factory.h" |
16 | 16 |
17 namespace syncer { | 17 namespace syncer { |
18 | 18 |
19 class MetadataBatch; | 19 class MetadataBatch; |
20 class MetadataChangeList; | 20 class MetadataChangeList; |
21 class ModelTypeService; | 21 class ModelTypeService; |
22 class SyncError; | 22 class SyncError; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 // Returns a boolean representing whether the processor's metadata is | 70 // Returns a boolean representing whether the processor's metadata is |
71 // currently up to date and accurately tracking the model type's data. If | 71 // currently up to date and accurately tracking the model type's data. If |
72 // false, calls to Put and Delete will no-op and can be omitted by services. | 72 // false, calls to Put and Delete will no-op and can be omitted by services. |
73 virtual bool IsTrackingMetadata() = 0; | 73 virtual bool IsTrackingMetadata() = 0; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace syncer | 76 } // namespace syncer |
77 | 77 |
78 #endif // COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ | 78 #endif // COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ |
OLD | NEW |