[sync] Fix ModelTypeWorker not overwriting undecryptable updates with...
... decryptable ones. Before this CL, if the sync server sent an update for "ServerId" encrypted with an unknown key, then sent an update for the same id encrypted with a known key, the data type would remain blocked. The CL fixes this by removing any entry in entries_pending_decryption_ with the same id as an incoming successfully decrypted update. Fixed: 1148359 Change-Id: I56ef2d8c73686ff9375cfd1ff7d48da1a5fe53c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2535230Reviewed-by:Mikel Astiz <mastiz@chromium.org> Commit-Queue: Victor Vianna <victorvianna@google.com> Cr-Commit-Position: refs/heads/master@{#826991}
Showing
Please register or sign in to comment