• William Lin's avatar
    Store CoreAccountInfo in ExtensionTokenKey · d93823c3
    William Lin authored
    Skipping the account chooser will require the GetAuthToken function to
    retrieve the gaia id of the account currently in use. Storing the
    CoreAccountInfo will allow the function to always be able to retrieve
    the gaia id for comparison in the scenario that CoreAccountId is an
    email.
    
    This CL replaces the CoreAccountId with CoreAccountInfo in the
    ExtensionTokenKey. Additionally, relevant locations of the existing code
    have been modified to use the CoreAccountId stored in CoreAccountInfo to
    account for this replacement.
    
    Bug: 1100535
    Change-Id: Ie72f437aecdbfe6b98a1c5cf0caae3501f42baa7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366033Reviewed-by: default avatarJohn Lee <johntlee@chromium.org>
    Reviewed-by: default avatarAlex Ilin <alexilin@chromium.org>
    Commit-Queue: William Lin <williamlin@google.com>
    Cr-Commit-Position: refs/heads/master@{#800754}
    d93823c3
identity_internals_ui_browsertest.cc 2.54 KB