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

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

Issue 2618483003: [Sync] Introduce ModelError for USS error handling. (Closed)
Patch Set: Address comments. 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 b3b793e693d03fe85a8231766daadc67e5b9ba92..ca6d733b7537c5159fac2dfd4e390e67488caed5 100644
--- a/components/sync/model/model_type_sync_bridge.cc
+++ b/components/sync/model/model_type_sync_bridge.cc
@@ -44,8 +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(SyncError(),
- base::MakeUnique<MetadataBatch>());
+ change_processor_->OnMetadataLoaded(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