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

Unified Diff: components/sync/driver/frontend_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/frontend_data_type_controller.cc
diff --git a/components/sync/driver/frontend_data_type_controller.cc b/components/sync/driver/frontend_data_type_controller.cc
index fbd9f8e6dbd5932251ed904984b6fd4dd8a5ce81..7d9ec0521d5787d438b5b1432dadd29f03ce7db3 100644
--- a/components/sync/driver/frontend_data_type_controller.cc
+++ b/components/sync/driver/frontend_data_type_controller.cc
@@ -21,8 +21,7 @@ FrontendDataTypeController::FrontendDataTypeController(
const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
const base::Closure& error_callback,
sync_driver::SyncClient* sync_client)
- : DirectoryDataTypeController(ui_thread, error_callback),
- sync_client_(sync_client),
+ : DirectoryDataTypeController(ui_thread, error_callback, sync_client),
state_(NOT_RUNNING) {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(sync_client);
@@ -132,8 +131,8 @@ void FrontendDataTypeController::OnSingleDataTypeUnrecoverableError(
FrontendDataTypeController::FrontendDataTypeController()
: DirectoryDataTypeController(base::ThreadTaskRunnerHandle::Get(),
- base::Closure()),
- sync_client_(NULL),
+ base::Closure(),
+ nullptr),
state_(NOT_RUNNING) {}
FrontendDataTypeController::~FrontendDataTypeController() {
« no previous file with comments | « components/sync/driver/frontend_data_type_controller.h ('k') | components/sync/driver/glue/sync_backend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698