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

Unified Diff: google_apis/gaia/oauth2_token_service_delegate.cc

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: rebased 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: google_apis/gaia/oauth2_token_service_delegate.cc
diff --git a/google_apis/gaia/oauth2_token_service_delegate.cc b/google_apis/gaia/oauth2_token_service_delegate.cc
index afe6e6ffaf1c603687ce64f556f2d72757b66ad7..83f306d9cf2f9fb1ac452f5b0fa939419c0c757f 100644
--- a/google_apis/gaia/oauth2_token_service_delegate.cc
+++ b/google_apis/gaia/oauth2_token_service_delegate.cc
@@ -95,6 +95,11 @@ net::URLRequestContextGetter* OAuth2TokenServiceDelegate::GetRequestContext()
return nullptr;
}
+bool OAuth2TokenServiceDelegate::RefreshTokenHasError(
+ const std::string& account_id) const {
+ return false;
+}
+
std::vector<std::string> OAuth2TokenServiceDelegate::GetAccounts() {
return std::vector<std::string>();
}

Powered by Google App Engine
This is Rietveld 408576698