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

Issue 1463753002: ChromeOS: This CL fixes bug in UserManager::GetKnownUserAccountId . (Closed)

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

Description

ChromeOS: This CL fixes bug in UserManager::GetKnownUserAccountId . The bug in GetKnownUserAccountId led to crash on user log on. BUG=462823 TEST=manual Committed: https://crrev.com/fdc3aee749470b6182f98c07a150e125d60e291c Cr-Commit-Position: refs/heads/master@{#361286}

Patch Set 1 #

Patch Set 2 : Bugfix. #

Patch Set 3 : Fix tests. #

Total comments: 8

Patch Set 4 : Update after review. #

Total comments: 6

Patch Set 5 : Update after review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -91 lines) Patch
M chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_selection_screen.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_selection_screen.cc View 6 chunks +12 lines, -26 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 chunk +6 lines, -20 lines 0 comments Download
M components/user_manager/user_manager.h View 1 chunk +10 lines, -4 lines 0 comments Download
M components/user_manager/user_manager.cc View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M components/user_manager/user_manager_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 1 2 3 4 3 chunks +31 lines, -33 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (14 generated)
Alexander Alekseev
Please review.
5 years, 1 month ago (2015-11-20 09:44:25 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/1463753002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463753002/1
5 years, 1 month ago (2015-11-20 09:44:53 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/91182)
5 years, 1 month ago (2015-11-20 10:18:23 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463753002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463753002/20001
5 years, 1 month ago (2015-11-20 10:21:30 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/91193)
5 years, 1 month ago (2015-11-20 10:54:35 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463753002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463753002/30001
5 years, 1 month ago (2015-11-20 12:32:54 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-20 12:57:47 UTC) #14
achuithb
Is there a bug for the crash?
5 years, 1 month ago (2015-11-20 18:39:09 UTC) #16
achuithb
https://codereview.chromium.org/1463753002/diff/30001/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc File chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc (right): https://codereview.chromium.org/1463753002/diff/30001/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc#newcode80 chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc:80: const AccountId& account_id = Shouldn't this be AccountId account_id= ...
5 years, 1 month ago (2015-11-20 18:46:52 UTC) #17
achuithb
Should probably add some tests since the logic is getting out of hand.
5 years, 1 month ago (2015-11-20 18:47:10 UTC) #18
Alexander Alekseev
On 2015/11/20 18:39:09, achuithb wrote: > Is there a bug for the crash? No, but ...
5 years, 1 month ago (2015-11-20 23:46:55 UTC) #19
Alexander Alekseev
https://codereview.chromium.org/1463753002/diff/30001/components/user_manager/user_manager_base.cc File components/user_manager/user_manager_base.cc (right): https://codereview.chromium.org/1463753002/diff/30001/components/user_manager/user_manager_base.cc#newcode1165 components/user_manager/user_manager_base.cc:1165: if (!user_email.empty() && On 2015/11/20 18:46:51, achuithb wrote: > ...
5 years, 1 month ago (2015-11-21 01:06:29 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463753002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463753002/50001
5 years, 1 month ago (2015-11-23 22:24:15 UTC) #22
achuithb
lgtm https://codereview.chromium.org/1463753002/diff/50001/components/user_manager/user_manager.cc File components/user_manager/user_manager.cc (right): https://codereview.chromium.org/1463753002/diff/50001/components/user_manager/user_manager.cc#newcode108 components/user_manager/user_manager.cc:108: return (gaia_id.empty() Is this the right formatting? Shouldn't ...
5 years, 1 month ago (2015-11-23 22:26:10 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-23 23:08:32 UTC) #25
dzhioev (left Google)
LGTM
5 years, 1 month ago (2015-11-24 00:02:25 UTC) #26
Alexander Alekseev
https://codereview.chromium.org/1463753002/diff/50001/components/user_manager/user_manager.cc File components/user_manager/user_manager.cc (right): https://codereview.chromium.org/1463753002/diff/50001/components/user_manager/user_manager.cc#newcode108 components/user_manager/user_manager.cc:108: return (gaia_id.empty() On 2015/11/23 22:26:10, achuithb wrote: > Is ...
5 years, 1 month ago (2015-11-24 04:26:55 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463753002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463753002/70001
5 years, 1 month ago (2015-11-24 04:36:19 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133507)
5 years, 1 month ago (2015-11-24 06:05:35 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463753002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463753002/70001
5 years, 1 month ago (2015-11-24 07:06:02 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 1 month ago (2015-11-24 08:16:56 UTC) #35
commit-bot: I haz the power
5 years, 1 month ago (2015-11-24 08:17:40 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fdc3aee749470b6182f98c07a150e125d60e291c
Cr-Commit-Position: refs/heads/master@{#361286}

Powered by Google App Engine
This is Rietveld 408576698