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

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

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/fake_model_type_service.cc ('k') | components/sync/api/metadata_batch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/metadata_batch.h
diff --git a/components/sync/api/metadata_batch.h b/components/sync/api/metadata_batch.h
index 846befe6ec97076bc1ec2465090dbb5fdcf8ff3d..01393a32b283453cf5bc721bfbc0dcb5cd0575a1 100644
--- a/components/sync/api/metadata_batch.h
+++ b/components/sync/api/metadata_batch.h
@@ -8,8 +8,8 @@
#include <map>
#include <string>
-#include "components/sync/protocol/data_type_state.pb.h"
#include "components/sync/protocol/entity_metadata.pb.h"
+#include "components/sync/protocol/model_type_state.pb.h"
namespace syncer {
@@ -31,15 +31,15 @@ class MetadataBatch {
void AddMetadata(const std::string& storage_key,
const sync_pb::EntityMetadata& metadata);
- // Get the DataTypeState for this batch.
- const sync_pb::DataTypeState& GetDataTypeState() const;
+ // Get the ModelTypeState for this batch.
+ const sync_pb::ModelTypeState& GetModelTypeState() const;
- // Set the DataTypeState for this batch.
- void SetDataTypeState(const sync_pb::DataTypeState& state);
+ // Set the ModelTypeState for this batch.
+ void SetModelTypeState(const sync_pb::ModelTypeState& state);
private:
EntityMetadataMap metadata_map_;
- sync_pb::DataTypeState state_;
+ sync_pb::ModelTypeState state_;
};
} // namespace syncer
« no previous file with comments | « components/sync/api/fake_model_type_service.cc ('k') | components/sync/api/metadata_batch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698