| Index: components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h
|
| diff --git a/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h b/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h
|
| index ea7236d13949176e6fe99888d918c5faad090226..1f2a1f698fcd0e01443bc02bb234785d4309eb98 100644
|
| --- a/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h
|
| +++ b/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h
|
| @@ -23,6 +23,10 @@ class PersistentTombstoneEntity : public LoopbackServerEntity {
|
| static std::unique_ptr<LoopbackServerEntity> Create(
|
| const sync_pb::SyncEntity& id);
|
|
|
| + static std::unique_ptr<LoopbackServerEntity> CreateForInjection(
|
| + const std::string& id,
|
| + const std::string& client_defined_unique_tag);
|
| +
|
| // LoopbackServerEntity implementation.
|
| bool RequiresParentId() const override;
|
| std::string GetParentId() const override;
|
| @@ -34,7 +38,11 @@ class PersistentTombstoneEntity : public LoopbackServerEntity {
|
| private:
|
| PersistentTombstoneEntity(const std::string& id,
|
| int64_t version,
|
| - const syncer::ModelType& model_type);
|
| + const syncer::ModelType& model_type,
|
| + const std::string& client_defined_unique_tag);
|
| +
|
| + // The tag for this entity.
|
| + const std::string client_defined_unique_tag_;
|
| };
|
|
|
| } // namespace syncer
|
|
|