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

Unified Diff: chrome/browser/profiles/gaia_info_update_service.cc

Issue 8746002: Use OAuth2 refresh token to download GAIA info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: correct branch Created 9 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/profiles/gaia_info_update_service.cc
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc
index 038ea36930cf4fd01ffebaa9ee4b90f6e07ac3b2..b141f73f529e3feb77643d3ba1daadb672a16c3e 100644
--- a/chrome/browser/profiles/gaia_info_update_service.cc
+++ b/chrome/browser/profiles/gaia_info_update_service.cc
@@ -63,6 +63,10 @@ Profile* GAIAInfoUpdateService::GetBrowserProfile() {
return profile_;
}
+bool GAIAInfoUpdateService::GetShouldUseOAuthRefreshToken() {
+ return true;
+}
+
void GAIAInfoUpdateService::OnDownloadComplete(ProfileDownloader* downloader,
bool success) {
if (!success) {

Powered by Google App Engine
This is Rietveld 408576698