commit | 3777f341184f34794b699bdfb2bbdc0ec56b1c16 | [log] [tgz] |
---|---|---|
author | Mikel Astiz <mastiz@chromium.org> | Thu Mar 14 13:26:25 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 14 13:26:25 2019 |
tree | a9eb42339c30d710ffa51e168f8fa324a121d048 | |
parent | e00df5e9656017883f403005d0afa8031238681f [diff] |
Fix sync potentially starting before spellcheck dictionary loaded Sync datatypes usually implement some waiting logic, either in the sync controller (old approach) or in the SyncableService (recommended approach). For spellcheck, it seems like the logic was missing altogether. This can theoretically lead to weird situations like sync data being ignored and overriden by an older local snapshot. In practice, this should be extremely rare, because sync's startup is artificially delayed, and even if it happened, the consequences would rarely be user-noticeable (since local data and sync data are likely to have converged earlier). Nevertheless, let's implement this waiting logic for completeness, which may also contribute to improved test flakiness. Bug: 939329 Change-Id: Iaab745a8759c1f44da80fec8addf0f64364f8d53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1511253 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by: Rachel Blum <groby@chromium.org> Cr-Commit-Position: refs/heads/master@{#640723}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .