#include "components/sync/model/sync_metadata_store_change_list.h"
#include <utility>
#include "base/location.h"
#include "components/sync/protocol/data_type_state.pb.h"
#include "components/sync/protocol/entity_metadata.pb.h"
namespace syncer {
SyncMetadataStoreChangeList::SyncMetadataStoreChangeList(
SyncMetadataStore* store,
syncer::DataType type,
ErrorCallback error_callback)
: … { … }
SyncMetadataStoreChangeList::~SyncMetadataStoreChangeList() = default;
void SyncMetadataStoreChangeList::UpdateDataTypeState(
const sync_pb::DataTypeState& data_type_state) { … }
void SyncMetadataStoreChangeList::ClearDataTypeState() { … }
void SyncMetadataStoreChangeList::UpdateMetadata(
const std::string& storage_key,
const sync_pb::EntityMetadata& metadata) { … }
void SyncMetadataStoreChangeList::ClearMetadata(
const std::string& storage_key) { … }
const SyncMetadataStore*
SyncMetadataStoreChangeList::GetMetadataStoreForTesting() const { … }
void SyncMetadataStoreChangeList::SetError(ModelError error) { … }
}