summaryrefslogtreecommitdiff
path: root/chrome/browser/signin/android_profile_oauth2_token_service.h
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2013-12-18 16:25:09 +0000
committerTorne (Richard Coles) <torne@google.com>2013-12-18 16:25:09 +0000
commita3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7 (patch)
treedafc1c6417406a7fbd422ad0bb890e96909ef564 /chrome/browser/signin/android_profile_oauth2_token_service.h
parentd5f893c0bc79db3066bb5ae5d3d972ba1be7dd5f (diff)
downloadchromium_org-a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7.tar.gz
Merge from Chromium at DEPS revision 240154
This commit was generated by merge_to_master.py. Change-Id: I8f2ba858cf0e7f413dddedc2ae91dc37f7136c2e
Diffstat (limited to 'chrome/browser/signin/android_profile_oauth2_token_service.h')
-rw-r--r--chrome/browser/signin/android_profile_oauth2_token_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/signin/android_profile_oauth2_token_service.h b/chrome/browser/signin/android_profile_oauth2_token_service.h
index 8c0f4f2204..44876b2cfe 100644
--- a/chrome/browser/signin/android_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/android_profile_oauth2_token_service.h
@@ -47,6 +47,11 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService {
jobjectArray accounts,
jstring current_account);
+ // Takes a the signed in sync account as well as all the other
+ // android account ids and check the token status of each.
+ void ValidateAccounts(const std::string& signed_in_account,
+ const std::vector<std::string>& account_ids);
+
// Triggers a notification to all observers of the OAuth2TokenService that a
// refresh token is now available. This may cause observers to retry
// operations that require authentication.