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

Issue 8746002: Use OAuth2 refresh token to download GAIA info (Closed)

Created:
9 years ago by sail
Modified:
9 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, ncarter (slow), Raghu Simha, Erik does not do reviews, mihaip+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, tim (not reviewing), Paweł Hajdan Jr., stevenjb+watch_chromium.org, davemoore+watch_chromium.org, akalin
Visibility:
Public.

Description

Use OAuth2 refresh token to download GAIA info We currently use client login to download GAIA info. Unfortunately the client login token expires after 24 hours. To fix this we now use a OAuth2 refresh token to create a new access token each time we download GAIA info. BUG=91241 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112214

Patch Set 1 #

Patch Set 2 : correct branch #

Total comments: 10

Patch Set 3 : addressed review comments #

Patch Set 4 : fix observer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -10 lines) Patch
M chrome/browser/chromeos/login/user_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/gaia_info_update_service.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/gaia_info_update_service.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_downloader.h View 1 2 3 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_downloader.cc View 1 2 3 6 chunks +67 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_downloader_delegate.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sail
9 years ago (2011-11-30 03:07:57 UTC) #1
Ivan Korotkov
Please make sure that linux_chromeos and linux_chromeos_clang trybots pass. http://codereview.chromium.org/8746002/diff/1001/chrome/browser/profiles/profile_downloader.cc File chrome/browser/profiles/profile_downloader.cc (right): http://codereview.chromium.org/8746002/diff/1001/chrome/browser/profiles/profile_downloader.cc#newcode37 chrome/browser/profiles/profile_downloader.cc:37: ...
9 years ago (2011-11-30 11:17:31 UTC) #2
Ivan Korotkov
http://codereview.chromium.org/8746002/diff/1001/chrome/browser/profiles/profile_downloader_delegate.h File chrome/browser/profiles/profile_downloader_delegate.h (right): http://codereview.chromium.org/8746002/diff/1001/chrome/browser/profiles/profile_downloader_delegate.h#newcode32 chrome/browser/profiles/profile_downloader_delegate.h:32: virtual bool GetShouldUseOAuthRefreshToken() = 0; Rename to ShouldUseOAuthRefreshToken?
9 years ago (2011-11-30 11:27:18 UTC) #3
sail
http://codereview.chromium.org/8746002/diff/1001/chrome/browser/profiles/profile_downloader.cc File chrome/browser/profiles/profile_downloader.cc (right): http://codereview.chromium.org/8746002/diff/1001/chrome/browser/profiles/profile_downloader.cc#newcode37 chrome/browser/profiles/profile_downloader.cc:37: // Template for optional authorization header when using client ...
9 years ago (2011-11-30 11:34:10 UTC) #4
Ivan Korotkov
LGTM
9 years ago (2011-11-30 11:56:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8746002/41
9 years ago (2011-11-30 12:37:28 UTC) #6
commit-bot: I haz the power
9 years ago (2011-11-30 13:55:36 UTC) #7
Change committed as 112214

Powered by Google App Engine
This is Rietveld 408576698