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

Issue 12039044: Don't overwrite the refresh_token fetched by the policy_oauth_fetcher. (Closed)

Created:
7 years, 11 months ago by Joao da Silva
Modified:
7 years, 11 months ago
Reviewers:
Nikita (slow), zel
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Don't overwrite the refresh_token fetched by the policy_oauth_fetcher. If the policy_oauth_fetcher has already fetched a valid refresh_token then don't replace with the refresh_token from the TokenService. The TokenService is always empty during the first login of managed users, and its refresh_token is always empty on those cases. BUG=170725

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M chrome/browser/chromeos/login/oauth2_login_manager.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Joao da Silva
@Zel: please review @Nikita: please make an owner review I've manually triggered the bug and ...
7 years, 11 months ago (2013-01-23 16:21:54 UTC) #1
Nikita (slow)
Zel's review would be enough. I'll let him review this code.
7 years, 11 months ago (2013-01-23 16:29:40 UTC) #2
zel
lgtm
7 years, 11 months ago (2013-01-23 16:43:57 UTC) #3
zel
lgtm https://codereview.chromium.org/12039044/diff/1/chrome/browser/chromeos/login/oauth2_login_manager.cc File chrome/browser/chromeos/login/oauth2_login_manager.cc (right): https://codereview.chromium.org/12039044/diff/1/chrome/browser/chromeos/login/oauth2_login_manager.cc#newcode156 chrome/browser/chromeos/login/oauth2_login_manager.cc:156: // TODO(zelidrag): Figure out why just getting GaiaConstants::kGaiaService ...
7 years, 11 months ago (2013-01-23 16:44:50 UTC) #4
Joao da Silva
Thanks for the review! https://codereview.chromium.org/12039044/diff/1/chrome/browser/chromeos/login/oauth2_login_manager.cc File chrome/browser/chromeos/login/oauth2_login_manager.cc (right): https://codereview.chromium.org/12039044/diff/1/chrome/browser/chromeos/login/oauth2_login_manager.cc#newcode156 chrome/browser/chromeos/login/oauth2_login_manager.cc:156: // TODO(zelidrag): Figure out why ...
7 years, 11 months ago (2013-01-23 16:50:37 UTC) #5
commit-bot: I haz the power
7 years, 11 months ago (2013-01-23 16:50:59 UTC) #6

Powered by Google App Engine
This is Rietveld 408576698