Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2367)

Unified Diff: chrome/browser/signin/android_profile_oauth2_token_service.h

Issue 63253003: Fix issues with token refresh in AccountReconcilor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove the event Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/android_profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/android_profile_oauth2_token_service.h b/chrome/browser/signin/android_profile_oauth2_token_service.h
index 1d6c054e8e1cc5b82e0c9006b8bede8f082413dd..5da100ff2629c7e869b090607b48f5581f531e84 100644
--- a/chrome/browser/signin/android_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/android_profile_oauth2_token_service.h
@@ -50,6 +50,9 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService {
jobjectArray accounts,
jstring current_account);
+ // Called to notify observers when a refresh token is available.
+ virtual void FireRefreshTokenAvailable(
+ const std::string& account_id) OVERRIDE;
Roger Tawa OOO till Jul 10th 2013/11/21 16:02:32 Don't this change if ValidateAccounts() is called
acleung1 2013/11/26 09:28:31 Yes. Since I have refactored ValidateAccounts just
// 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.
@@ -86,9 +89,6 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService {
const ScopeSet& scopes,
const std::string& access_token) OVERRIDE;
- // Called to notify observers when a refresh token is available.
- virtual void FireRefreshTokenAvailable(
- const std::string& account_id) OVERRIDE;
// Called to notify observers when a refresh token has been revoked.
virtual void FireRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
// Called to notify observers when refresh tokans have been loaded.

Powered by Google App Engine
This is Rietveld 408576698