Rename OAuth2TokenService to ProfileOAuth2TokenServiceDelegate
Align ProfileOAuth2TokenServiceDelegate's name for Android with other implementations: in Java this changes OAuth2TokenService to ProfileOAuth2TokenServiceDelegate and in C++ this change OAuth2TokenServiceDelegateAndroid to ProfileOAuth2TokenServiceDelegateAndroid. Also mark ProfileOAuth2TokenServiceDelegate ctor package private. The whole class could not be made package private due to ProfileOAuth2TokenServiceDelegate.STORED_ACCOUNTS_KEY which is accessed from other packages. The constructor is not private as used in tests. This change was partially performed automatically with the following commands: git grep -l oauth2_token_service_delegate_android| xargs sed s/oauth2_token_service_delegate_android/profile_oauth2_token_service_delegate_android/g -i git grep -l OAuth2TokenService *.java | xargs sed s/OAuth2TokenService/ProfileOAuth2TokenServiceDelegate/g -i git grep -l OAuth2TokenService.java | xargs sed s/OAuth2TokenService.java/ProfileOAuth2TokenServiceDelegate.java/g -i git grep -l OAuth2TokenServiceTest.java | xargs sed s/OAuth2TokenServiceTest.java/ProfileOAuth2TokenServiceDelegateTest.java/g -i Bug: 934688 Change-Id: I903d82d00ee9f64532f988e02758870481f7d1dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1780831 Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#722981}
Showing
This diff is collapsed.
Please register or sign in to comment