| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 debug_info_listener, | 67 debug_info_listener, |
| 68 const sync_driver::DataTypeController::TypeMap* controllers, | 68 const sync_driver::DataTypeController::TypeMap* controllers, |
| 69 const sync_driver::DataTypeEncryptionHandler* encryption_handler, | 69 const sync_driver::DataTypeEncryptionHandler* encryption_handler, |
| 70 browser_sync::SyncBackendHost* backend, | 70 browser_sync::SyncBackendHost* backend, |
| 71 sync_driver::DataTypeManagerObserver* observer) override; | 71 sync_driver::DataTypeManagerObserver* observer) override; |
| 72 browser_sync::SyncBackendHost* CreateSyncBackendHost( | 72 browser_sync::SyncBackendHost* CreateSyncBackendHost( |
| 73 const std::string& name, | 73 const std::string& name, |
| 74 invalidation::InvalidationService* invalidator, | 74 invalidation::InvalidationService* invalidator, |
| 75 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, | 75 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, |
| 76 const base::FilePath& sync_folder) override; | 76 const base::FilePath& sync_folder) override; |
| 77 scoped_ptr<sync_driver::LocalDeviceInfoProvider> | 77 std::unique_ptr<sync_driver::LocalDeviceInfoProvider> |
| 78 CreateLocalDeviceInfoProvider() override; | 78 CreateLocalDeviceInfoProvider() override; |
| 79 scoped_ptr<syncer::AttachmentService> CreateAttachmentService( | 79 std::unique_ptr<syncer::AttachmentService> CreateAttachmentService( |
| 80 scoped_ptr<syncer::AttachmentStoreForSync> attachment_store, | 80 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store, |
| 81 const syncer::UserShare& user_share, | 81 const syncer::UserShare& user_share, |
| 82 const std::string& store_birthday, | 82 const std::string& store_birthday, |
| 83 syncer::ModelType model_type, | 83 syncer::ModelType model_type, |
| 84 syncer::AttachmentService::Delegate* delegate) override; | 84 syncer::AttachmentService::Delegate* delegate) override; |
| 85 sync_driver::SyncApiComponentFactory::SyncComponents | 85 sync_driver::SyncApiComponentFactory::SyncComponents |
| 86 CreateBookmarkSyncComponents( | 86 CreateBookmarkSyncComponents( |
| 87 sync_driver::SyncService* sync_service, | 87 sync_driver::SyncService* sync_service, |
| 88 sync_driver::DataTypeErrorHandler* error_handler) override; | 88 sync_driver::DataTypeErrorHandler* error_handler) override; |
| 89 | 89 |
| 90 private: | 90 private: |
| (...skipping 22 matching lines...) Expand all Loading... |
| 113 net::URLRequestContextGetter* const url_request_context_getter_; | 113 net::URLRequestContextGetter* const url_request_context_getter_; |
| 114 const scoped_refptr<autofill::AutofillWebDataService> web_data_service_; | 114 const scoped_refptr<autofill::AutofillWebDataService> web_data_service_; |
| 115 const scoped_refptr<password_manager::PasswordStore> password_store_; | 115 const scoped_refptr<password_manager::PasswordStore> password_store_; |
| 116 | 116 |
| 117 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; | 117 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; |
| 118 | 118 |
| 119 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); | 119 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_
H__ | 122 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_
H__ |
| OLD | NEW |