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

Issue 1370913002: ChromeOS: fix user signin by alias. (Closed)

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

Description

This CL fixes the issue with login using alternative e-mails. If new user is added, we lookup if it already exists by e-mail. This CL also adds lookup by gaia_id, and adds gaia_id support for telemetry test API. BUG=535369 TEST=manual Committed: https://crrev.com/0f37b696b7a814d4157401c304643594a4ae9731 Cr-Commit-Position: refs/heads/master@{#351482} Committed: https://crrev.com/b3b38a1ef3e858d0f8dc0b2c2ea96aabb9688647 Cr-Commit-Position: refs/heads/master@{#352574}

Patch Set 1 #

Patch Set 2 : Fixc HandleAuthentication. #

Total comments: 5

Patch Set 3 : Update comments. #

Patch Set 4 : Fix tests. #

Patch Set 5 : rebased. #

Patch Set 6 : Fix telemetry tests. #

Total comments: 2

Patch Set 7 : Comment added. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -15 lines) Patch
M chrome/browser/chromeos/login/signin/device_id_browsertest.cc View 1 2 3 8 chunks +16 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/test/oobe_base_test.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/test/oobe_base_test.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login_common.js View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 3 4 3 chunks +28 lines, -2 lines 0 comments Download
M components/user_manager/user_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M components/user_manager/user_manager_base.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/internal/backends/chrome/cros_test_case.py View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/internal/backends/chrome/oobe.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/internal/browser/browser_options.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 40 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1370913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1370913002/1
5 years, 2 months ago (2015-09-26 09:50:05 UTC) #2
commit-bot: I haz the power
Dry run: 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/108432)
5 years, 2 months ago (2015-09-26 10:25:54 UTC) #4
Alexander Alekseev
Please review.
5 years, 2 months ago (2015-09-29 12:26:02 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/1370913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1370913002/20001
5 years, 2 months ago (2015-09-29 12:26:19 UTC) #8
commit-bot: I haz the power
Dry run: 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/109255)
5 years, 2 months ago (2015-09-29 13:30:30 UTC) #10
achuithb
We need browser tests for this. Do you want to do it in a separate ...
5 years, 2 months ago (2015-09-29 18:18:42 UTC) #11
Alexander Alekseev
> We need browser tests for this. Do you want to do it in > ...
5 years, 2 months ago (2015-09-29 19:02:08 UTC) #12
achuithb
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode530 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:530: LOG(WARNING) << "Existing user '" << old_email On 2015/09/29 ...
5 years, 2 months ago (2015-09-29 19:07:48 UTC) #13
Alexander Alekseev
On 2015/09/29 19:07:48, achuithb wrote: > https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc > File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): > > https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode530 > ...
5 years, 2 months ago (2015-09-29 19:12:43 UTC) #14
achuithb
On 2015/09/29 19:12:43, Alexander Alekseev wrote: > On 2015/09/29 19:07:48, achuithb wrote: > > > ...
5 years, 2 months ago (2015-09-29 19:28:40 UTC) #15
Alexander Alekseev
On 2015/09/29 19:28:40, achuithb wrote: > On 2015/09/29 19:12:43, Alexander Alekseev wrote: > > On ...
5 years, 2 months ago (2015-09-29 20:22:29 UTC) #16
achuithb
lgtm
5 years, 2 months ago (2015-09-29 20:35:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1370913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1370913002/40001
5 years, 2 months ago (2015-09-29 20:36:20 UTC) #19
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/109512)
5 years, 2 months ago (2015-09-29 21:13:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1370913002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1370913002/60001
5 years, 2 months ago (2015-09-30 02:51:46 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-09-30 03:31:26 UTC) #25
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0f37b696b7a814d4157401c304643594a4ae9731 Cr-Commit-Position: refs/heads/master@{#351482}
5 years, 2 months ago (2015-09-30 03:32:04 UTC) #26
afakhry
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1384533003/ by afakhry@chromium.org. ...
5 years, 2 months ago (2015-10-01 21:14:25 UTC) #27
Alexander Alekseev
I've added fix for telemetry tests. PTAL.
5 years, 2 months ago (2015-10-03 02:57:18 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1370913002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1370913002/100001
5 years, 2 months ago (2015-10-03 02:58:00 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-03 07:12:28 UTC) #32
achuithb
https://codereview.chromium.org/1370913002/diff/100001/chrome/browser/resources/chromeos/login/login_common.js File chrome/browser/resources/chromeos/login/login_common.js (right): https://codereview.chromium.org/1370913002/diff/100001/chrome/browser/resources/chromeos/login/login_common.js#newcode291 chrome/browser/resources/chromeos/login/login_common.js:291: if (!gaia_id) { Should we add a TODO here ...
5 years, 2 months ago (2015-10-05 19:38:08 UTC) #33
achuithb
On 2015/10/05 19:38:08, achuithb wrote: > https://codereview.chromium.org/1370913002/diff/100001/chrome/browser/resources/chromeos/login/login_common.js > File chrome/browser/resources/chromeos/login/login_common.js (right): > > https://codereview.chromium.org/1370913002/diff/100001/chrome/browser/resources/chromeos/login/login_common.js#newcode291 > ...
5 years, 2 months ago (2015-10-05 19:39:18 UTC) #34
Alexander Alekseev
https://codereview.chromium.org/1370913002/diff/100001/chrome/browser/resources/chromeos/login/login_common.js File chrome/browser/resources/chromeos/login/login_common.js (right): https://codereview.chromium.org/1370913002/diff/100001/chrome/browser/resources/chromeos/login/login_common.js#newcode291 chrome/browser/resources/chromeos/login/login_common.js:291: if (!gaia_id) { On 2015/10/05 19:38:08, achuithb wrote: > ...
5 years, 2 months ago (2015-10-05 21:21:28 UTC) #35
achuithb
lgtm
5 years, 2 months ago (2015-10-06 07:36:51 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1370913002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1370913002/120001
5 years, 2 months ago (2015-10-06 08:20:09 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-06 09:26:49 UTC) #39
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 09:27:59 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b3b38a1ef3e858d0f8dc0b2c2ea96aabb9688647
Cr-Commit-Position: refs/heads/master@{#352574}

Powered by Google App Engine
This is Rietveld 408576698