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

Issue 1523743003: Always fire refresh tokens loaded on ChromeOS. (Closed)

Created:
5 years ago by knn
Modified:
5 years ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, anthonyvd, gogerald1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always fire refresh tokens loaded on ChromeOS. Unlike other platforms, ChromeOS does not trigger ProfileOAuth2TokenService#LoadCredentials(). As of http://crrev.com/1380103004 we wait for RefreshTokensLoaded notification before fetching the account info. This cl ensures that notification is triggered correctly in the simplest way. However this should ideally be handled within the OAuth2TokenServiceDelegate or plumbed in a more explicit manner. BUG=557906 NOTRY=true Committed: https://crrev.com/91d55c621307c578c233e3a07d896ce763abbae2 Cr-Commit-Position: refs/heads/master@{#365491}

Patch Set 1 #

Total comments: 2

Patch Set 2 : insert bug no #

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

Messages

Total messages: 20 (9 generated)
knn
PTAL. Thanks! Account Info is only fetched if RefreshTokensLoaded notification is triggered. This is triggered ...
5 years ago (2015-12-15 09:25:07 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523743003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523743003/1
5 years ago (2015-12-15 22:17:19 UTC) #4
achuithb
Pavel, can you review, and verify that this fixes the issue we're seeing on cros? ...
5 years ago (2015-12-15 22:18:42 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 23:07:10 UTC) #8
dzhioev (left Google)
On 2015/12/15 23:07:10, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years ago (2015-12-15 23:25:11 UTC) #9
dzhioev (left Google)
On 2015/12/15 23:07:10, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years ago (2015-12-15 23:25:12 UTC) #10
knn
Thanks for verifying and reviewing Pavel! I'll submit this as is. Roger, Achuith: Feel free ...
5 years ago (2015-12-16 06:57:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523743003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523743003/20001
5 years ago (2015-12-16 06:58:47 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-16 07:04:08 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/91d55c621307c578c233e3a07d896ce763abbae2 Cr-Commit-Position: refs/heads/master@{#365491}
5 years ago (2015-12-16 07:05:03 UTC) #19
achuithb
5 years ago (2015-12-16 07:09:07 UTC) #20
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698