#include "components/sync/model/metadata_batch.h"
#include <memory>
#include <utility>
#include "components/sync/protocol/entity_metadata.pb.h"
namespace syncer {
MetadataBatch::MetadataBatch() = default;
MetadataBatch::MetadataBatch(MetadataBatch&& other) = default;
MetadataBatch::~MetadataBatch() = default;
const EntityMetadataMap& MetadataBatch::GetAllMetadata() const { … }
EntityMetadataMap MetadataBatch::TakeAllMetadata() { … }
void MetadataBatch::AddMetadata(
const std::string& storage_key,
std::unique_ptr<sync_pb::EntityMetadata> metadata) { … }
const sync_pb::DataTypeState& MetadataBatch::GetDataTypeState() const { … }
void MetadataBatch::SetDataTypeState(const sync_pb::DataTypeState& state) { … }
}