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

Unified Diff: components/sync_driver/non_blocking_data_type_controller.cc

Issue 1671773002: [Sync] USS: Rename SharedModelTypeProcessor::Start and related methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@smtp
Patch Set: Rebase. Created 4 years, 10 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
« no previous file with comments | « no previous file | components/sync_driver/non_blocking_data_type_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/non_blocking_data_type_controller.cc
diff --git a/components/sync_driver/non_blocking_data_type_controller.cc b/components/sync_driver/non_blocking_data_type_controller.cc
index 4205115cdb92cf3b863b577436b26d250da93cbf..47e697da469e75db7b0a97034fd58efb0a1ac171 100644
--- a/components/sync_driver/non_blocking_data_type_controller.cc
+++ b/components/sync_driver/non_blocking_data_type_controller.cc
@@ -50,7 +50,8 @@ void NonBlockingDataTypeController::LoadModels(
if (!RunOnModelThread(
FROM_HERE,
base::Bind(
- &syncer_v2::SharedModelTypeProcessor::Start, type_processor(),
+ &syncer_v2::SharedModelTypeProcessor::OnSyncStarting,
+ type_processor(),
base::Bind(&NonBlockingDataTypeController::OnProcessorStarted,
this)))) {
LoadModelsDone(
@@ -142,7 +143,8 @@ void NonBlockingDataTypeController::Stop() {
RunOnModelThread(
FROM_HERE,
- base::Bind(&syncer_v2::SharedModelTypeProcessor::Stop, type_processor()));
+ base::Bind(&syncer_v2::SharedModelTypeProcessor::DisconnectSync,
+ type_processor()));
}
std::string NonBlockingDataTypeController::name() const {
« no previous file with comments | « no previous file | components/sync_driver/non_blocking_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698