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 |