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

Unified Diff: components/sync/driver/non_ui_data_type_controller.cc

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: update for Max Created 4 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: components/sync/driver/non_ui_data_type_controller.cc
diff --git a/components/sync/driver/non_ui_data_type_controller.cc b/components/sync/driver/non_ui_data_type_controller.cc
index 0a9d2379141c88efd5ff53ec7d0f57df9081985b..89e9601b0aff6d6d28a6bd04fe016f538a9f82d5 100644
--- a/components/sync/driver/non_ui_data_type_controller.cc
+++ b/components/sync/driver/non_ui_data_type_controller.cc
@@ -28,8 +28,7 @@ NonUIDataTypeController::NonUIDataTypeController(
const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
const base::Closure& error_callback,
SyncClient* sync_client)
- : DirectoryDataTypeController(ui_thread, error_callback),
- sync_client_(sync_client),
+ : DirectoryDataTypeController(ui_thread, error_callback, sync_client),
state_(NOT_RUNNING),
ui_thread_(ui_thread) {}
@@ -148,8 +147,8 @@ void NonUIDataTypeController::OnSingleDataTypeUnrecoverableError(
NonUIDataTypeController::NonUIDataTypeController()
: DirectoryDataTypeController(base::ThreadTaskRunnerHandle::Get(),
- base::Closure()),
- sync_client_(NULL) {}
+ base::Closure(),
+ nullptr) {}
NonUIDataTypeController::~NonUIDataTypeController() {}
« no previous file with comments | « components/sync/driver/non_ui_data_type_controller.h ('k') | components/sync/driver/proxy_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698