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

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

Issue 2620773002: [Sync] Use ModelError all the way through to ModelTypeController. (Closed)
Patch Set: const& everything and use a typedef. 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 ca6d733b7537c5159fac2dfd4e390e67488caed5..c6954286d40efffc24eea635cb5e4c661a112dd8 100644
--- a/components/sync/model/model_type_sync_bridge.cc
+++ b/components/sync/model/model_type_sync_bridge.cc
@@ -31,7 +31,7 @@ ConflictResolution ModelTypeSyncBridge::ResolveConflict(
}
void ModelTypeSyncBridge::OnSyncStarting(
- std::unique_ptr<DataTypeErrorHandler> error_handler,
+ const ModelErrorHandler& error_handler,
const ModelTypeChangeProcessor::StartCallback& start_callback) {
change_processor_->OnSyncStarting(std::move(error_handler), start_callback);
}
« 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