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

Unified Diff: google_apis/gaia/oauth2_token_service_delegate.cc

Issue 1380103004: Delay fetching account info until OnRefreshTokensLoaded(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 2 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 3c5f75ba9f38c8ddad3fa792171f5ee78869fc8c..c08a9c9c5553b8cd420c5f9833a2ef02551d96f2 100644
--- a/google_apis/gaia/oauth2_token_service_delegate.cc
+++ b/google_apis/gaia/oauth2_token_service_delegate.cc
@@ -113,3 +113,7 @@ bool OAuth2TokenServiceDelegate::RefreshTokenHasError(
std::vector<std::string> OAuth2TokenServiceDelegate::GetAccounts() {
return std::vector<std::string>();
}
+
+bool OAuth2TokenServiceDelegate::NeedsAccountIdNameMap() const {
+ return false;
+}

Powered by Google App Engine
This is Rietveld 408576698