Fix notifying observers in SpecialStoragePolicy
This CL restricts adding, removing and notifying observers in SpecialStoragePolicy within one thread using sequence checker. It also makes all call sites to notify observers from the correct (IO) thread. The fix should also mitigate MigrationSingleClientTest tests flakiness. Bug: 1094907 Change-Id: Ife32fe48af22129ef0e04779c62c707b5f20f3db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2301972Reviewed-by:David Bertoni <dbertoni@chromium.org> Reviewed-by:
Victor Costan <pwnall@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#789733}
Showing
Please register or sign in to comment