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

Unified Diff: components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h

Issue 1267843003: Fix reconcilor loop when the primary account is in an auth error state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 5 years, 4 months 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: components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h
diff --git a/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h b/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h
index 5ba8547f50906be2e13982bac9a10b9733ff198e..a52bdf1df2623ab9c49fcdaf5d257cc58f3ea7ab 100644
--- a/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h
+++ b/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h
@@ -30,11 +30,12 @@ class ProfileOAuth2TokenServiceIOSDelegate : public OAuth2TokenServiceDelegate {
void Shutdown() override;
bool RefreshTokenIsAvailable(const std::string& account_id) const override;
+ bool RefreshTokenHasError(const std::string& account_id) const override;
+ void UpdateAuthError(const std::string& account_id,
+ const GoogleServiceAuthError& error) override;
void LoadCredentials(const std::string& primary_account_id) override;
std::vector<std::string> GetAccounts() override;
- void UpdateAuthError(const std::string& account_id,
- const GoogleServiceAuthError& error) override;
// This method should not be called when using shared authentication.
void UpdateCredentials(const std::string& account_id,

Powered by Google App Engine
This is Rietveld 408576698