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 "sync/internal_api/public/base/model_type.h" | 12 #include "components/sync/base/model_type.h" |
13 #include "sync/internal_api/public/configure_reason.h" | 13 #include "components/sync/core/configure_reason.h" |
14 #include "sync/internal_api/public/engine/model_safe_worker.h" | 14 #include "components/sync/engine/model_safe_worker.h" |
15 | 15 |
16 namespace syncer_v2 { | 16 namespace syncer_v2 { |
17 struct ActivationContext; | 17 struct ActivationContext; |
18 } | 18 } |
19 | 19 |
20 namespace sync_driver { | 20 namespace sync_driver { |
21 | 21 |
22 class ChangeProcessor; | 22 class ChangeProcessor; |
23 | 23 |
24 // The DataTypeConfigurer interface abstracts out the action of | 24 // The DataTypeConfigurer interface abstracts out the action of |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 syncer::ModelTypeSet types, | 91 syncer::ModelTypeSet types, |
92 DataTypeConfigStateMap* state_map); | 92 DataTypeConfigStateMap* state_map); |
93 | 93 |
94 protected: | 94 protected: |
95 virtual ~BackendDataTypeConfigurer() {} | 95 virtual ~BackendDataTypeConfigurer() {} |
96 }; | 96 }; |
97 | 97 |
98 } // namespace sync_driver | 98 } // namespace sync_driver |
99 | 99 |
100 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ | 100 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_ |
OLD | NEW |