| 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_API_MODEL_TYPE_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ |
| 6 #define COMPONENTS_SYNC_API_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/api/data_type_error_handler.h" | |
| 12 #include "components/sync/api/entity_data.h" | |
| 13 #include "components/sync/api/sync_error_factory.h" | |
| 14 #include "components/sync/core/activation_context.h" | 11 #include "components/sync/core/activation_context.h" |
| 12 #include "components/sync/model/data_type_error_handler.h" |
| 13 #include "components/sync/model/entity_data.h" |
| 14 #include "components/sync/model/sync_error_factory.h" |
| 15 | 15 |
| 16 namespace syncer { | 16 namespace syncer { |
| 17 class SyncError; | 17 class SyncError; |
| 18 } // namespace syncer | 18 } // namespace syncer |
| 19 | 19 |
| 20 namespace syncer { | 20 namespace syncer { |
| 21 | 21 |
| 22 class MetadataBatch; | 22 class MetadataBatch; |
| 23 class MetadataChangeList; | 23 class MetadataChangeList; |
| 24 | 24 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 std::unique_ptr<DataTypeErrorHandler> error_handler, | 59 std::unique_ptr<DataTypeErrorHandler> error_handler, |
| 60 const StartCallback& callback) = 0; | 60 const StartCallback& callback) = 0; |
| 61 | 61 |
| 62 // Indicates that sync is being disabled permanently for this data type. All | 62 // Indicates that sync is being disabled permanently for this data type. All |
| 63 // metadata should be erased from storage. | 63 // metadata should be erased from storage. |
| 64 virtual void DisableSync() = 0; | 64 virtual void DisableSync() = 0; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace syncer | 67 } // namespace syncer |
| 68 | 68 |
| 69 #endif // COMPONENTS_SYNC_API_MODEL_TYPE_CHANGE_PROCESSOR_H_ | 69 #endif // COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ |
| OLD | NEW |