Index: chrome/browser/sync/glue/password_data_type_controller.h |
diff --git a/chrome/browser/sync/glue/password_data_type_controller.h b/chrome/browser/sync/glue/password_data_type_controller.h |
index a2bceb4bbab8cdee5e24736d18e58374763b172e..101ab8c2e39f22a130a1d735b76262826ac846fd 100644 |
--- a/chrome/browser/sync/glue/password_data_type_controller.h |
+++ b/chrome/browser/sync/glue/password_data_type_controller.h |
@@ -12,21 +12,23 @@ |
#include "components/sync_driver/sync_service_observer.h" |
class Profile; |
-class ProfileSyncComponentsFactory; |
namespace password_manager { |
class PasswordStore; |
} |
+namespace sync_driver { |
+class SyncClient; |
+} |
+ |
namespace browser_sync { |
// A class that manages the startup and shutdown of password sync. |
class PasswordDataTypeController : public sync_driver::NonUIDataTypeController, |
public sync_driver::SyncServiceObserver { |
public: |
- PasswordDataTypeController( |
- ProfileSyncComponentsFactory* profile_sync_factory, |
- Profile* profile); |
+ PasswordDataTypeController(sync_driver::SyncClient* sync_client, |
+ Profile* profile); |
// NonFrontendDataTypeController implementation |
syncer::ModelType type() const override; |
@@ -45,6 +47,7 @@ class PasswordDataTypeController : public sync_driver::NonUIDataTypeController, |
void OnStateChanged() override; |
private: |
+ sync_driver::SyncClient* const sync_client_; |
Profile* const profile_; |
scoped_refptr<password_manager::PasswordStore> password_store_; |