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

Unified Diff: components/sync/model_impl/in_memory_metadata_change_list.cc

Issue 2794413002: [USS] Add SyncMetadataStore interface (Closed)
Patch Set: Created 3 years, 8 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_impl/in_memory_metadata_change_list.cc
diff --git a/components/sync/model_impl/in_memory_metadata_change_list.cc b/components/sync/model_impl/in_memory_metadata_change_list.cc
index 23c2a947fc11145a210134cbfbf91421fbd8fefe..e210874aa59dbb432d140b6e66a09713daf67cec 100644
--- a/components/sync/model_impl/in_memory_metadata_change_list.cc
+++ b/components/sync/model_impl/in_memory_metadata_change_list.cc
@@ -28,4 +28,9 @@ void InMemoryMetadataChangeList::ClearMetadata(const std::string& storage_key) {
metadata_changes_[storage_key] = {CLEAR, sync_pb::EntityMetadata()};
}
+base::Optional<ModelError> InMemoryMetadataChangeList::TakeError() {
+ NOTREACHED();
pavely 2017/04/06 22:56:42 I don't think we should assert NOTREACHED() here.
Gang Wu 2017/04/21 05:28:03 Done.
+ return {};
+}
+
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698