Sync: Integration test for tracking deletions while Sync-paused

While Sync is in the "paused" state, it should still keep tracking
deletions. Otherwise, deleted entities would get resurrected once Sync
gets unpaused. This CL adds an integration test to make sure this
happens.
Right now, the test will fail if kStopSyncInPausedState is enabled - as
it should. It'll pass with (and without) kStopSyncInPausedState once
https://crrev.com/c/1538285 has landed.

Bug: 906995
Change-Id: I0d525ee90dcd386d99a1a5d7ba89f1387a0e617a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1581629
Reviewed-by: Jan Krcal <jkrcal@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653941}
1 file changed