| Index: components/sync/engine_impl/worker_entity_tracker.cc
|
| diff --git a/components/sync/engine_impl/worker_entity_tracker.cc b/components/sync/engine_impl/worker_entity_tracker.cc
|
| index 8632e291579bc76960c53f2c65d1817a947b45f0..67f2aa945f044b7822717188aa63a49eca504edd 100644
|
| --- a/components/sync/engine_impl/worker_entity_tracker.cc
|
| +++ b/components/sync/engine_impl/worker_entity_tracker.cc
|
| @@ -25,6 +25,11 @@ bool WorkerEntityTracker::HasPendingCommit() const {
|
| return !!pending_commit_;
|
| }
|
|
|
| +bool WorkerEntityTracker::PendingCommitIsDeletion() const {
|
| + DCHECK(pending_commit_);
|
| + return pending_commit_->entity.value().is_deleted();
|
| +}
|
| +
|
| void WorkerEntityTracker::PopulateCommitProto(
|
| sync_pb::SyncEntity* commit_entity) const {
|
| DCHECK(HasPendingCommit());
|
|
|