Fix DCHECKs in IdentityManager::GetPrimaryAccountInfo
On ChromeOS, IdentityManager::GetPrimaryAccountInfo DCHECKs that its view of the primary account info matches the one in SigninManagerBase. However, if the primary account's refresh token gets revoked, then the account gets removed from the AccountTrackerService, and SigninManagerBase will only remember the account's ID, but not the full AccountInfo. This CL updates the DCHECKs so that they only verify the account ID in this case. Bug: 825190, 806775 Change-Id: I6cbde518e064b590109ef8ca165a1106c7ebda83 Reviewed-on: https://chromium-review.googlesource.com/1025094 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/master@{#553116}
Showing
Please register or sign in to comment