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

Unified Diff: components/sync/model/model_type_sync_bridge.cc

Issue 2621373004: [Sync] Renamed OnMetadataLoaded to ModelReadyToSync. (Closed)
Patch Set: Rebase. Created 3 years, 11 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/model/model_type_sync_bridge.cc
diff --git a/components/sync/model/model_type_sync_bridge.cc b/components/sync/model/model_type_sync_bridge.cc
index c6954286d40efffc24eea635cb5e4c661a112dd8..0e5a1dd454493a2e28acc8ed00d9e05c08488083 100644
--- a/components/sync/model/model_type_sync_bridge.cc
+++ b/components/sync/model/model_type_sync_bridge.cc
@@ -44,7 +44,7 @@ void ModelTypeSyncBridge::DisableSync() {
// processor that there is no metadata. DisableSync() should never be called
// while the models are loading, aka before the service has finished loading
// the initial metadata.
- change_processor_->OnMetadataLoaded(base::MakeUnique<MetadataBatch>());
+ change_processor_->ModelReadyToSync(base::MakeUnique<MetadataBatch>());
}
ModelTypeChangeProcessor* ModelTypeSyncBridge::change_processor() const {
« no previous file with comments | « components/sync/model/model_type_sync_bridge.h ('k') | components/sync/model/model_type_sync_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698