[Sync] Some cleanup of AccountManagerHelper.
commitd3a5ef1490acb34c1b13cc554f8876965a0bec53
authormaxbogue <maxbogue@chromium.org>
Wed, 16 Sep 2015 09:59:10 +0000 (16 02:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Sep 2015 09:59:50 +0000 (16 09:59 +0000)
tree6bcbdc453562063cfbb7a07d2397f40143432712
parent1e9d97bcc03b5c3a62ca2a68491095350d1ee0ce
[Sync] Some cleanup of AccountManagerHelper.

- Remove deprecated getAuthTokenFromBackground.
- Rename getAuthTokenFromForeground to getAuthToken.
- Rename getNewAuthTokenFromForeground to getNewAuthToken.
- Remove the unused Activity param from getAuthToken.

BUG=488563

Review URL: https://codereview.chromium.org/1344093004

Cr-Commit-Position: refs/heads/master@{#349086}
chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java
components/invalidation/impl/android/java/src/org/chromium/components/invalidation/InvalidationClientService.java
sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java