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

Issue 892633003: Do not announce robot account token before account ID is available (Closed)

Created:
5 years, 10 months ago by bartfab (slow)
Modified:
5 years, 10 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not announce robot account token before account ID is available When announcing the availability of the robot account token to its observers, DeviceOAuth2TokenService needs to know both the token and the robot account ID. During enrollment, the token becomes available before the account ID. Thus, DeviceOAuth2TokenService needs to wait for the account ID to be available before announcing the token. BUG=453828 TEST=New unit test Committed: https://crrev.com/c9e620e90057f214879658eca758493e1ea3cbdb Cr-Commit-Position: refs/heads/master@{#314312}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comment. #

Patch Set 3 : Unbroke unit tests. #

Messages

Total messages: 13 (4 generated)
bartfab (slow)
Hi Xiyuan, Could you take a look? There are two more direct owners, but Mattias ...
5 years, 10 months ago (2015-01-30 17:34:40 UTC) #2
xiyuan
https://codereview.chromium.org/892633003/diff/1/chrome/browser/chromeos/settings/device_oauth2_token_service.cc File chrome/browser/chromeos/settings/device_oauth2_token_service.cc (right): https://codereview.chromium.org/892633003/diff/1/chrome/browser/chromeos/settings/device_oauth2_token_service.cc#newcode94 chrome/browser/chromeos/settings/device_oauth2_token_service.cc:94: // available. Should we call OnServiceAccountIdentityChanged here as well ...
5 years, 10 months ago (2015-01-30 18:37:03 UTC) #3
bartfab (slow)
https://codereview.chromium.org/892633003/diff/1/chrome/browser/chromeos/settings/device_oauth2_token_service.cc File chrome/browser/chromeos/settings/device_oauth2_token_service.cc (right): https://codereview.chromium.org/892633003/diff/1/chrome/browser/chromeos/settings/device_oauth2_token_service.cc#newcode94 chrome/browser/chromeos/settings/device_oauth2_token_service.cc:94: // available. On 2015/01/30 18:37:03, xiyuan wrote: > Should ...
5 years, 10 months ago (2015-02-02 21:01:07 UTC) #4
xiyuan
lgtm
5 years, 10 months ago (2015-02-02 21:07:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892633003/20001
5 years, 10 months ago (2015-02-03 09:04:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/20864)
5 years, 10 months ago (2015-02-03 09:55:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892633003/40001
5 years, 10 months ago (2015-02-03 10:40:58 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-03 11:17:35 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 11:18:37 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c9e620e90057f214879658eca758493e1ea3cbdb
Cr-Commit-Position: refs/heads/master@{#314312}

Powered by Google App Engine
This is Rietveld 408576698