[Sync] Don't use WorkerEntityTracker for commit path in worker.
This is a step towards worker not relying on client tag hash to identify entity. It is needed to implement bookmarks migration as bookmarks code doesn't populate client tag hash. In this CL I stop caching CommitRequestData in WorkerEntityTracker, instead I pass CommitRequestDataList to CommitContributor. When commit response arrives, records are matched with corresponding request objects in CommitContributor based on position. All the logic related to populating and adjusting SyncEntity is moved there too. BUG=740757 R=skym@chromium.org Change-Id: I46012c48e506bfdd23f393536dcf2f911d0efad4 Reviewed-on: https://chromium-review.googlesource.com/775773 Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Reviewed-by:Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#517287}
Showing
Please register or sign in to comment