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

Issue 1063753004: Use HTML messages to inform GAIA about deviceId. (Closed)

Created:
5 years, 8 months ago by Alexander Alekseev
Modified:
5 years, 7 months ago
Reviewers:
Nikita (slow)
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, arv+watch_chromium.org, haon
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use HTML messages to inform GAIA about deviceId. BUG=470746, 479171 TEST=manual Committed: https://crrev.com/794248215c501c8722eb042e3b12e93b133335b7 Cr-Commit-Position: refs/heads/master@{#326777}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix bugs. #

Total comments: 2

Patch Set 3 : Update after review. #

Total comments: 2

Patch Set 4 : Update after review. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -25 lines) Patch
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 1 2 5 chunks +27 lines, -2 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 2 6 chunks +57 lines, -20 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 3 4 chunks +31 lines, -3 lines 1 comment Download

Messages

Total messages: 20 (5 generated)
Alexander Alekseev
Please review.
5 years, 8 months ago (2015-04-22 14:54:53 UTC) #2
Alexander Alekseev
PTAL.
5 years, 8 months ago (2015-04-22 15:30:24 UTC) #3
Alexander Alekseev
CC: +haon : FYI
5 years, 8 months ago (2015-04-22 15:31:58 UTC) #4
Alexander Alekseev
+haon@ : FYI
5 years, 8 months ago (2015-04-22 15:32:35 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1063753004/20001
5 years, 8 months ago (2015-04-22 15:35:09 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-22 16:26:39 UTC) #9
Nikita (slow)
https://codereview.chromium.org/1063753004/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/1063753004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode179 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:179: temporary_device_id_(base::GenerateGUID()), As discussed, let's store this device ID only ...
5 years, 8 months ago (2015-04-22 16:46:52 UTC) #10
Nikita (slow)
https://codereview.chromium.org/1063753004/diff/1/chrome/browser/resources/chromeos/login/screen_gaia_signin.js File chrome/browser/resources/chromeos/login/screen_gaia_signin.js (right): https://codereview.chromium.org/1063753004/diff/1/chrome/browser/resources/chromeos/login/screen_gaia_signin.js#newcode553 chrome/browser/resources/chromeos/login/screen_gaia_signin.js:553: * Invoked when the auth host emits 'attemptLogin' event. ...
5 years, 8 months ago (2015-04-22 16:51:52 UTC) #11
Alexander Alekseev
https://codereview.chromium.org/1063753004/diff/1/chrome/browser/resources/chromeos/login/screen_gaia_signin.js File chrome/browser/resources/chromeos/login/screen_gaia_signin.js (right): https://codereview.chromium.org/1063753004/diff/1/chrome/browser/resources/chromeos/login/screen_gaia_signin.js#newcode553 chrome/browser/resources/chromeos/login/screen_gaia_signin.js:553: * Invoked when the auth host emits 'attemptLogin' event. ...
5 years, 8 months ago (2015-04-22 17:58:07 UTC) #12
Nikita (slow)
lgtm https://codereview.chromium.org/1063753004/diff/40001/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/1063753004/diff/40001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode944 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:944: if (context.device_id.empty()) { nit: drop {}
5 years, 8 months ago (2015-04-23 12:23:12 UTC) #13
Alexander Alekseev
https://codereview.chromium.org/1063753004/diff/40001/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/1063753004/diff/40001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode944 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:944: if (context.device_id.empty()) { On 2015/04/23 12:23:12, Nikita Kostylev wrote: ...
5 years, 8 months ago (2015-04-24 12:01:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1063753004/60001
5 years, 8 months ago (2015-04-24 12:02:36 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 13:01:21 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/794248215c501c8722eb042e3b12e93b133335b7 Cr-Commit-Position: refs/heads/master@{#326777}
5 years, 8 months ago (2015-04-24 13:02:09 UTC) #19
Nikita (slow)
5 years, 7 months ago (2015-04-29 12:42:24 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/1063753004/diff/60001/chrome/browser/ui/webui...
File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right):

https://codereview.chromium.org/1063753004/diff/60001/chrome/browser/ui/webui...
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:585:
gaia::CanonicalizeEmail(email));
This doesn't work:

[5977:5977:0429/154046:ERROR:gaia_auth_util.cc(28)] NOTREACHED() hit in
CanonicalizeEmailImpl. expecting exactly one @, but got 0 : crosmsk3

You should also call SanitizeEmail which will add default domain (gmail.com)

Powered by Google App Engine
This is Rietveld 408576698