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

Unified Diff: components/password_manager/sync/browser/password_data_type_controller.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/password_manager/sync/browser/password_data_type_controller.h
diff --git a/components/password_manager/sync/browser/password_data_type_controller.h b/components/password_manager/sync/browser/password_data_type_controller.h
index 1881eb3ceb2c425acee4586bbdfefb6a7c5a398d..6205d90a7579f75b42d99292a0eb4dee592ee5a1 100644
--- a/components/password_manager/sync/browser/password_data_type_controller.h
+++ b/components/password_manager/sync/browser/password_data_type_controller.h
@@ -30,7 +30,8 @@ class PasswordDataTypeController : public sync_driver::NonUIDataTypeController,
const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
const base::Closure& error_callback,
sync_driver::SyncClient* sync_client,
- const base::Closure& state_changed_callback);
+ const base::Closure& state_changed_callback,
+ const scoped_refptr<password_manager::PasswordStore>& password_store);
// NonFrontendDataTypeController implementation
syncer::ModelType type() const override;
@@ -50,8 +51,8 @@ class PasswordDataTypeController : public sync_driver::NonUIDataTypeController,
private:
sync_driver::SyncClient* const sync_client_;
- scoped_refptr<password_manager::PasswordStore> password_store_;
const base::Closure state_changed_callback_;
+ scoped_refptr<password_manager::PasswordStore> password_store_;
DISALLOW_COPY_AND_ASSIGN(PasswordDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698