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

Unified Diff: components/sync/driver/non_ui_data_type_controller_unittest.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/sync/driver/non_ui_data_type_controller_unittest.cc
diff --git a/components/sync/driver/non_ui_data_type_controller_unittest.cc b/components/sync/driver/non_ui_data_type_controller_unittest.cc
index c2f70561d8b4573d3f8f28d80a3432669260abb6..f0eea9fcac0548c51d1ea5dfa1aeb22fa92e2797 100644
--- a/components/sync/driver/non_ui_data_type_controller_unittest.cc
+++ b/components/sync/driver/non_ui_data_type_controller_unittest.cc
@@ -105,15 +105,17 @@ class NonUIDataTypeControllerFake : public NonUIDataTypeController {
NonUIDataTypeControllerMock* mock,
SharedChangeProcessor* change_processor,
scoped_refptr<base::SingleThreadTaskRunner> backend_task_runner)
- : NonUIDataTypeController(kType, base::Closure(), sync_client),
+ : NonUIDataTypeController(kType,
+ base::Closure(),
+ sync_client,
+ GROUP_DB,
+ nullptr),
blocked_(false),
mock_(mock),
change_processor_(change_processor),
backend_task_runner_(backend_task_runner) {}
~NonUIDataTypeControllerFake() override {}
- ModelSafeGroup model_safe_group() const override { return GROUP_DB; }
-
// Prevent tasks from being posted on the backend thread until
// UnblockBackendTasks() is called.
void BlockBackendTasks() { blocked_ = true; }

Powered by Google App Engine
This is Rietveld 408576698