Index: components/browser_sync/browser/profile_sync_components_factory_impl.h |
diff --git a/components/browser_sync/browser/profile_sync_components_factory_impl.h b/components/browser_sync/browser/profile_sync_components_factory_impl.h |
index 579d1b9cb7c8d04f83fb7a7b58865ae1397f1dbd..0da2d986b604022f66dc89afe793474f45a9d7b9 100644 |
--- a/components/browser_sync/browser/profile_sync_components_factory_impl.h |
+++ b/components/browser_sync/browser/profile_sync_components_factory_impl.h |
@@ -19,6 +19,14 @@ |
class OAuth2TokenService; |
class Profile; |
+namespace autofill { |
+class AutofillWebDataService; |
+} |
+ |
+namespace password_manager { |
+class PasswordStore; |
+} |
+ |
namespace net { |
class URLRequestContextGetter; |
} |
@@ -45,7 +53,9 @@ class ProfileSyncComponentsFactoryImpl |
const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, |
const scoped_refptr<base::SingleThreadTaskRunner>& db_thread, |
OAuth2TokenService* token_service, |
- net::URLRequestContextGetter* url_request_context_getter); |
+ net::URLRequestContextGetter* url_request_context_getter, |
+ const scoped_refptr<autofill::AutofillWebDataService>& web_data_service, |
+ const scoped_refptr<password_manager::PasswordStore>& password_store); |
~ProfileSyncComponentsFactoryImpl() override; |
// SyncApiComponentFactory implementation: |
@@ -104,6 +114,8 @@ class ProfileSyncComponentsFactoryImpl |
const scoped_refptr<base::SingleThreadTaskRunner> db_thread_; |
OAuth2TokenService* const token_service_; |
net::URLRequestContextGetter* const url_request_context_getter_; |
+ const scoped_refptr<autofill::AutofillWebDataService> web_data_service_; |
+ const scoped_refptr<password_manager::PasswordStore> password_store_; |
base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; |