Add new API: IdentityManager::GetPrimaryAccountId()
This new API will provide access to the account ID of the latest cached information for the user's primary account, which is conceptually not the same than getting an AccountInfo with GetPrimaryAccountInfo() and then accessing the account_id member, since that won't return any ID when the account has been removed from the AccountTrackerService. Bug: 887264 Change-Id: Id87e58fbe86e2a048067d4ede8d9621e2d430cff Reviewed-on: https://chromium-review.googlesource.com/c/1264162 Commit-Queue: Mario Sanchez Prada <mario@igalia.com> Reviewed-by:Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#597567}
Showing
Please register or sign in to comment