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

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

Issue 2618483003: [Sync] Introduce ModelError for USS error handling. (Closed)
Patch Set: Fix other iOS test file that I thought was the first one. 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/stub_model_type_sync_bridge.cc
diff --git a/components/sync/model/stub_model_type_sync_bridge.cc b/components/sync/model/stub_model_type_sync_bridge.cc
index b07eff4d13f8f89b6427774a65d98dcee8877367..747303c91f6bcfda1cafee690ba4dca7a1f945cc 100644
--- a/components/sync/model/stub_model_type_sync_bridge.cc
+++ b/components/sync/model/stub_model_type_sync_bridge.cc
@@ -25,16 +25,16 @@ StubModelTypeSyncBridge::CreateMetadataChangeList() {
return std::unique_ptr<MetadataChangeList>();
}
-SyncError StubModelTypeSyncBridge::MergeSyncData(
+ModelError StubModelTypeSyncBridge::MergeSyncData(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityDataMap entity_data_map) {
- return SyncError();
+ return ModelError();
}
-SyncError StubModelTypeSyncBridge::ApplySyncChanges(
+ModelError StubModelTypeSyncBridge::ApplySyncChanges(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityChangeList entity_changes) {
- return SyncError();
+ return ModelError();
}
void StubModelTypeSyncBridge::GetData(StorageKeyList storage_keys,

Powered by Google App Engine
This is Rietveld 408576698