Move Cancel{AllRequests,RequestsForAccount} from PO2TStest to O2ATMtest
This CL is a part of moving access token management to OAuth2AccessTokenManager. It is specifically a step toward folding O2TS into PO2TS now that O2TS is only one subclass of PO2TS. It removes CancelAllRequests and CancelRequestsForAccount from PO2TS since these are only used by PO2TS and it could call these methods through |token_manager_| instead of having helper methods. It moves CancelAllRequests and CancelRequestsForAccount from ProfileOAuth2TokenServiceTest to OAuth2AccessTokenManagerTest since OAuth2AccessTokenManager manages requests. It adds AddAccount to FakeOAuth2AccessTokenManagerDelegate to handle multiple accounts. Bug: 967598 Change-Id: I550a241a632a84f431c8eb348b544b81f1b8eac6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715174 Commit-Queue: Julie Jeongeun Kim <jkim@igalia.com> Reviewed-by:Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#682109}
Showing
Please register or sign in to comment