Make sure that CompromisedCredentialsObserver removes the credentials
synchronously. Before this patch CompromisedCredentialsObserver operated on the UI thread. - [UI] UpdateLogins - [Background] change the password, notify the observers - [UI] CompromisedCredentialsObserver processes the update - [Background] compromised credential removed, observers are notified. This is not ideal because removal of the compromised credential is visible on the UI thread much later at unspecified time. Now: - [UI] UpdateLogins - [Background] change the password, notify the observers, compromised password is removed, the observers are notified. The UI thread sees the compromised credential gone as soon as the new password value was updated. Bug: 1049200 Change-Id: I9665bf77a216842925d913479c3d192597f3b606 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162767Reviewed-by:Jan Wilken Dörrie <jdoerrie@chromium.org> Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#761942}
Showing
Please register or sign in to comment