[signin] Fix timeout issues in DiceInterceptionSessionStartupHelper
This is a tentative fix, as I could not repro the issue. It is theoritically possible that the call to TriggerCookieJarUpdate() does nothing. The scenario would look like this: - Reconcilor starts - Reconcilor does a ListAccounts - At this point DiceInterceptedSessionStartupHelper calls TriggerCookieJarUpdate, but this is a no-op because a ListAccount is already running. - Reconcilor finishes running and adds the account, but OnAccountsInCookieUpdated is never called (because bug 1051864) - this results in a timeout of DiceInterceptedSessionStartupHelper The CL also adds an histogram to track reconcilor errors, as they would explain the timeout as well. Bug: 1151313 Change-Id: I5082ffa377c3c3c4e605d75ae79545811593ac3f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550814Reviewed-by:Caitlin Fischer <caitlinfischer@google.com> Reviewed-by:
Monica Basta <msalama@chromium.org> Commit-Queue: Monica Basta <msalama@chromium.org> Cr-Commit-Position: refs/heads/master@{#830521}
Showing
Please register or sign in to comment