Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h

Issue 2938553003: Revert of [sync] Replace FakeServer's implementation with LoopbackServer invocations. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0531666b0743b644d012502950bae7aef88aa8c6..ea7236d13949176e6fe99888d918c5faad090226 100644
--- a/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h
+++ b/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.h
@@ -20,12 +20,8 @@
~PersistentTombstoneEntity() override;
// Factory function for PersistentTombstoneEntity.
- static std::unique_ptr<LoopbackServerEntity> CreateFromEntity(
+ static std::unique_ptr<LoopbackServerEntity> Create(
const sync_pb::SyncEntity& id);
-
- static std::unique_ptr<LoopbackServerEntity> CreateNew(
- const std::string& id,
- const std::string& client_defined_unique_tag);
// LoopbackServerEntity implementation.
bool RequiresParentId() const override;
@@ -38,11 +34,7 @@
private:
PersistentTombstoneEntity(const std::string& id,
int64_t version,
- const syncer::ModelType& model_type,
- const std::string& client_defined_unique_tag);
-
- // The tag for this entity.
- const std::string client_defined_unique_tag_;
+ const syncer::ModelType& model_type);
};
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698