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/api/syncable_service.h" | 12 #include "components/sync/api/syncable_service.h" |
13 #include "components/sync/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
14 #include "components/sync/core/attachments/attachment_service.h" | 14 #include "components/sync/core/attachments/attachment_service.h" |
15 #include "components/sync_driver/data_type_controller.h" | 15 #include "components/sync/driver/data_type_controller.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class FilePath; | 18 class FilePath; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace browser_sync { | 21 namespace browser_sync { |
22 class SyncBackendHost; | 22 class SyncBackendHost; |
23 } // namespace browser_sync | 23 } // namespace browser_sync |
24 | 24 |
25 namespace history { | 25 namespace history { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store, | 134 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store, |
135 const syncer::UserShare& user_share, | 135 const syncer::UserShare& user_share, |
136 const std::string& store_birthday, | 136 const std::string& store_birthday, |
137 syncer::ModelType model_type, | 137 syncer::ModelType model_type, |
138 syncer::AttachmentService::Delegate* delegate) = 0; | 138 syncer::AttachmentService::Delegate* delegate) = 0; |
139 }; | 139 }; |
140 | 140 |
141 } // namespace sync_driver | 141 } // namespace sync_driver |
142 | 142 |
143 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ | 143 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ |
OLD | NEW |