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

Unified Diff: components/autofill/core/browser/autofill_wallet_data_type_controller.h

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Rebase. 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/autofill/core/browser/autofill_wallet_data_type_controller.h
diff --git a/components/autofill/core/browser/autofill_wallet_data_type_controller.h b/components/autofill/core/browser/autofill_wallet_data_type_controller.h
index e483e0b304f776ecc0c36a92c5c1fcdf754547b7..d0331b1a73ec286102e547b4d3b5252233882bd9 100644
--- a/components/autofill/core/browser/autofill_wallet_data_type_controller.h
+++ b/components/autofill/core/browser/autofill_wallet_data_type_controller.h
@@ -23,19 +23,14 @@ class AutofillWalletDataTypeController
// |dump_stack| is called when an unrecoverable error occurs.
AutofillWalletDataTypeController(
syncer::ModelType type,
- const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread,
const base::Closure& dump_stack,
syncer::SyncClient* sync_client,
const scoped_refptr<autofill::AutofillWebDataService>& web_data_service);
~AutofillWalletDataTypeController() override;
- // NonUIDataTypeController implementation.
- syncer::ModelSafeGroup model_safe_group() const override;
-
private:
// NonUIDataTypeController implementation.
- bool PostTaskOnBackendThread(const tracked_objects::Location& from_here,
- const base::Closure& task) override;
bool StartModels() override;
void StopModels() override;
bool ReadyForStart() const override;
@@ -46,12 +41,6 @@ class AutofillWalletDataTypeController
// Returns true if the prefs are set such that wallet sync should be enabled.
bool IsEnabled();
- // A reference to the DB thread's task runner.
- const scoped_refptr<base::SingleThreadTaskRunner> db_thread_;
-
- // A pointer to the sync client.
- syncer::SyncClient* const sync_client_;
-
// Whether the database loaded callback has been registered.
bool callback_registered_;

Powered by Google App Engine
This is Rietveld 408576698