Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: components/browser_sync/browser/profile_sync_components_factory_impl.h

Issue 1460723004: [Sync] Remove the last datatype-specific deps from sync_driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete outdated comment. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « components/browser_sync/browser/DEPS ('k') | components/browser_sync/browser/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698