Have IdentityManager interact w/ ProfileOAuth2TokenService synchronously
The reasoning for this change is analogous to that described in https://chromium-review.googlesource.com/1061494 for IdentityManager's interactions with SigninManager. As with that change, once the codebase is converted away from direct usage of PO2TS entirely to IdentityManager, it could be a good idea to reintroduce the asynchronous interaction; reintroducing that implementation would be a good intermediate move to switching in the Identity Service-backed implementation. As part of this change, we remove a test of PrimaryAccessTokenFetcher that assumes that the implementation handles access token requests asynchronously. Bug: 843510 Change-Id: Ie9a9b06460044fd12cd63299f21c7e24660d8cc1 Reviewed-on: https://chromium-review.googlesource.com/1068669 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#561796}
Showing
Please register or sign in to comment