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

Unified Diff: components/sync/api/metadata_batch.cc

Issue 2394573002: [Sync] Rename DataTypeState to ModelTypeState. (Closed)
Patch Set: Rebase. Created 4 years, 2 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
« no previous file with comments | « components/sync/api/metadata_batch.h ('k') | components/sync/api/metadata_change_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/metadata_batch.cc
diff --git a/components/sync/api/metadata_batch.cc b/components/sync/api/metadata_batch.cc
index 64c3c76a994c8ec0d0504e240f38738b5d974d1b..f2b8f451d6f8f4e29c5f9d46ec8167aa2ac19c50 100644
--- a/components/sync/api/metadata_batch.cc
+++ b/components/sync/api/metadata_batch.cc
@@ -20,11 +20,11 @@ void MetadataBatch::AddMetadata(const std::string& storage_key,
metadata_map_.insert(std::make_pair(storage_key, metadata));
}
-const sync_pb::DataTypeState& MetadataBatch::GetDataTypeState() const {
+const sync_pb::ModelTypeState& MetadataBatch::GetModelTypeState() const {
return state_;
}
-void MetadataBatch::SetDataTypeState(const sync_pb::DataTypeState& state) {
+void MetadataBatch::SetModelTypeState(const sync_pb::ModelTypeState& state) {
state_ = state;
}
« no previous file with comments | « components/sync/api/metadata_batch.h ('k') | components/sync/api/metadata_change_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698