| 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 <string> |
| 9 |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 10 #include "components/sync_driver/data_type_controller.h" | 12 #include "components/sync_driver/data_type_controller.h" |
| 11 #include "sync/api/syncable_service.h" | 13 #include "sync/api/syncable_service.h" |
| 12 #include "sync/internal_api/public/attachments/attachment_service.h" | 14 #include "sync/internal_api/public/attachments/attachment_service.h" |
| 13 #include "sync/internal_api/public/base/model_type.h" | 15 #include "sync/internal_api/public/base/model_type.h" |
| 14 | 16 |
| 15 namespace base { | 17 namespace base { |
| 16 class FilePath; | 18 class FilePath; |
| 17 } // namespace base | 19 } // namespace base |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 scoped_ptr<syncer::AttachmentStoreForSync> attachment_store, | 128 scoped_ptr<syncer::AttachmentStoreForSync> attachment_store, |
| 127 const syncer::UserShare& user_share, | 129 const syncer::UserShare& user_share, |
| 128 const std::string& store_birthday, | 130 const std::string& store_birthday, |
| 129 syncer::ModelType model_type, | 131 syncer::ModelType model_type, |
| 130 syncer::AttachmentService::Delegate* delegate) = 0; | 132 syncer::AttachmentService::Delegate* delegate) = 0; |
| 131 }; | 133 }; |
| 132 | 134 |
| 133 } // namespace sync_driver | 135 } // namespace sync_driver |
| 134 | 136 |
| 135 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ | 137 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_H_ |
| OLD | NEW |