| 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_BACKEND_DATA_TYPE_CONFIGURER_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ | 6 #define COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "components/sync/base/model_type.h" | 12 #include "components/sync/base/model_type.h" |
| 13 #include "components/sync/core/configure_reason.h" | 13 #include "components/sync/engine/configure_reason.h" |
| 14 #include "components/sync/engine/model_safe_worker.h" | 14 #include "components/sync/engine/model_safe_worker.h" |
| 15 | 15 |
| 16 namespace syncer { | 16 namespace syncer { |
| 17 | 17 |
| 18 class ChangeProcessor; | 18 class ChangeProcessor; |
| 19 struct ActivationContext; | 19 struct ActivationContext; |
| 20 | 20 |
| 21 // The DataTypeConfigurer interface abstracts out the action of | 21 // The DataTypeConfigurer interface abstracts out the action of |
| 22 // configuring a set of new data types and cleaning up after a set of | 22 // configuring a set of new data types and cleaning up after a set of |
| 23 // removed data types. | 23 // removed data types. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ModelTypeSet types, | 87 ModelTypeSet types, |
| 88 DataTypeConfigStateMap* state_map); | 88 DataTypeConfigStateMap* state_map); |
| 89 | 89 |
| 90 protected: | 90 protected: |
| 91 virtual ~BackendDataTypeConfigurer() {} | 91 virtual ~BackendDataTypeConfigurer() {} |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace syncer | 94 } // namespace syncer |
| 95 | 95 |
| 96 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ | 96 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ |
| OLD | NEW |