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

Unified Diff: components/password_manager/sync/browser/password_data_type_controller.cc

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: . Created 4 years, 1 month 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.cc
diff --git a/components/password_manager/sync/browser/password_data_type_controller.cc b/components/password_manager/sync/browser/password_data_type_controller.cc
index 76db1ffce8bd4b94d0d057ddb128bf41bfa64497..c4d9bbc1ce6ccdabef63f85c33cf24072ff50528 100644
--- a/components/password_manager/sync/browser/password_data_type_controller.cc
+++ b/components/password_manager/sync/browser/password_data_type_controller.cc
@@ -17,15 +17,15 @@ PasswordDataTypeController::PasswordDataTypeController(
syncer::SyncClient* sync_client,
const base::Closure& state_changed_callback,
const scoped_refptr<password_manager::PasswordStore>& password_store)
- : NonUIDataTypeController(syncer::PASSWORDS, dump_stack, sync_client),
+ : NonUIDataTypeController(syncer::PASSWORDS,
+ dump_stack,
+ sync_client,
+ syncer::GROUP_PASSWORD,
+ nullptr),
sync_client_(sync_client),
state_changed_callback_(state_changed_callback),
password_store_(password_store) {}
-syncer::ModelSafeGroup PasswordDataTypeController::model_safe_group() const {
- return syncer::GROUP_PASSWORD;
-}
-
PasswordDataTypeController::~PasswordDataTypeController() {}
bool PasswordDataTypeController::PostTaskOnBackendThread(

Powered by Google App Engine
This is Rietveld 408576698