[Signin] Block AccountReconcilor on log out completion
While working on live tests I discovered that there is no reliable way to observe account deletion from cookies during the log out. AccountReconcilor changes its state to DONE as soon as Gaia log out is started without waiting for the log out request completion. This CL adds missing log out observers to GaiaCookieManagerService and makes AccountReconcilor wait until the log out is done. NOTE: This CL doesn't block AccountReconcilor on log out completion if multilogin endpoint is used. This is left as a TODO in code. Bug: 1054167 Change-Id: If10aede8c5ed10791f4554e91c39526772e075ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832263 Commit-Queue: Alex Ilin <alexilin@chromium.org> Reviewed-by:David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#750931}
Showing
Please register or sign in to comment