• Jochen Eisinger's avatar
    Delete CryptAuthAccessTokenFetcher · 7e830210
    Jochen Eisinger authored
    Replaces the two distinct implementations of CryptAuthAccessTokenFetcher with
    having CryptAuthClientImpl directly construct a PAATF. Those two
    implementations are each identical in functionality to using a PAATF in
    kImmediate mode: the first simply wraps PAATF used in kImmediate mode, while
    the second just makes an immediate request on ProfileOAuth2TokenService.
    
    Also eliminates a //chromeos implementation of CryptAuthClientFactory, as that
    implementation is now identical with the //components/cryptauth implementation,
    which is used instead in the //chromeos context.
    
    BUG=809433
    R=blundell@chromium.org,khorimoto@chromium.org
    
    Change-Id: I93ee9e736395bc71a1e741fc45d027ff32787536
    Reviewed-on: https://chromium-review.googlesource.com/1107715
    Commit-Queue: Jochen Eisinger <jochen@chromium.org>
    Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
    Reviewed-by: default avatarTim Song <tengs@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#572505}
    7e830210
chrome_cryptauth_service.cc 10 KB