#include "components/sync/engine/loopback_server/persistent_tombstone_entity.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "components/sync/protocol/entity_specifics.pb.h"
#include "components/sync/protocol/loopback_server.pb.h"
#include "components/sync/protocol/sync_entity.pb.h"
string;
DataType;
namespace syncer {
PersistentTombstoneEntity::~PersistentTombstoneEntity() = default;
std::unique_ptr<LoopbackServerEntity>
PersistentTombstoneEntity::CreateFromEntity(const sync_pb::SyncEntity& entity) { … }
std::unique_ptr<LoopbackServerEntity> PersistentTombstoneEntity::CreateNew(
const std::string& id,
const std::string& client_tag_hash) { … }
std::unique_ptr<LoopbackServerEntity>
PersistentTombstoneEntity::CreateNewInternal(
const std::string& id,
int64_t version,
const std::string& client_tag_hash) { … }
PersistentTombstoneEntity::PersistentTombstoneEntity(
const string& id,
int64_t version,
const DataType& data_type,
const std::string& client_tag_hash)
: … { … }
bool PersistentTombstoneEntity::RequiresParentId() const { … }
string PersistentTombstoneEntity::GetParentId() const { … }
void PersistentTombstoneEntity::SerializeAsProto(
sync_pb::SyncEntity* proto) const { … }
bool PersistentTombstoneEntity::IsDeleted() const { … }
sync_pb::LoopbackServerEntity_Type
PersistentTombstoneEntity::GetLoopbackServerEntityType() const { … }
}