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_SYNC_API_COMPONENT_FACTORY_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ |
6 #define COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/sync/base/model_type.h" | 12 #include "components/sync/base/model_type.h" |
13 #include "components/sync/driver/data_type_controller.h" | 13 #include "components/sync/driver/data_type_controller.h" |
14 #include "components/sync/model/attachments/attachment_service.h" | 14 #include "components/sync/model/attachments/attachment_service.h" |
15 #include "components/sync/model/data_type_error_handler.h" | 15 #include "components/sync/model/data_type_error_handler.h" |
16 #include "components/sync/model/syncable_service.h" | 16 #include "components/sync/model/syncable_service.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class FilePath; | 19 class FilePath; |
20 } // namespace base | 20 } // namespace base |
21 | 21 |
22 namespace history { | |
23 class HistoryBackend; | |
24 } | |
25 | |
26 namespace invalidation { | 22 namespace invalidation { |
27 class InvalidationService; | 23 class InvalidationService; |
28 } // namespace invalidation | 24 } // namespace invalidation |
29 | 25 |
30 namespace syncer { | 26 namespace syncer { |
31 | 27 |
32 class AssociatorInterface; | 28 class AssociatorInterface; |
33 class ChangeProcessor; | 29 class ChangeProcessor; |
34 class DataTypeDebugInfoListener; | 30 class DataTypeDebugInfoListener; |
35 class DataTypeEncryptionHandler; | 31 class DataTypeEncryptionHandler; |
36 class DataTypeManager; | 32 class DataTypeManager; |
37 class DataTypeManagerObserver; | 33 class DataTypeManagerObserver; |
38 class DataTypeStatusTable; | |
39 class GenericChangeProcessor; | |
40 class LocalDeviceInfoProvider; | 34 class LocalDeviceInfoProvider; |
41 class SyncBackendHost; | 35 class SyncBackendHost; |
42 class SyncClient; | 36 class SyncClient; |
43 class SyncPrefs; | 37 class SyncPrefs; |
44 class SyncService; | 38 class SyncService; |
45 class SyncableService; | 39 class SyncableService; |
46 struct UserShare; | 40 struct UserShare; |
47 | 41 |
48 // This factory provides sync driver code with the model type specific sync/api | 42 // This factory provides sync driver code with the model type specific sync/api |
49 // service (like SyncableService) implementations. | 43 // service (like SyncableService) implementations. |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 std::unique_ptr<AttachmentStoreForSync> attachment_store, | 119 std::unique_ptr<AttachmentStoreForSync> attachment_store, |
126 const UserShare& user_share, | 120 const UserShare& user_share, |
127 const std::string& store_birthday, | 121 const std::string& store_birthday, |
128 ModelType model_type, | 122 ModelType model_type, |
129 AttachmentService::Delegate* delegate) = 0; | 123 AttachmentService::Delegate* delegate) = 0; |
130 }; | 124 }; |
131 | 125 |
132 } // namespace syncer | 126 } // namespace syncer |
133 | 127 |
134 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ | 128 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ |
OLD | NEW |