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

Unified Diff: chrome/browser/sync/glue/password_data_type_controller.h

Issue 1310553005: [Sync] Replace ProfileSyncComponentsFactory with SyncClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix GN Created 5 years, 4 months 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698