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
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
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
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
> 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
> We need browser tests for this. Do you want to do it in
> a separate CL or can you add them to this one?
I think it is better to have tests in a separate CL to
speed up testing.
Also, display e-mail is a bit more tricky, so I'll fix it in a separate CL.
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right):
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:530: LOG(WARNING)
<< "Existing user '" << old_email
On 2015/09/29 18:18:42, achuithb wrote:
> Should we make this LOG(INFO)?
>
> Also, should we add UMA stats for this event?
LOG(INFO) is prohibited by precommit hooks.
So you think we should still use INFO?
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:537: return
sanitized_email;
On 2015/09/29 18:18:42, achuithb wrote:
> The names are a bit confusing.
>
> This method is called GetCanonicalEmail, you have variables, sanitized_email,
> canonicalized_email, old_email, authenticated_email, gaia_id. What is the
> difference between all of these? Could we add a comment somewhere?
It actually is returning sanitized email for compatibility.
We should probably call Canonicalize() here, but currently we rely on GAIA to
return canonical e-mail.
On the other hand, UserContext returns canonicalized e-mail, so that KnownUsers
data is stored using canonicalized e-mails as ID.
This way, it all works because Canonicalize() is done on GAIA side ;)
I've added comment here.
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
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right):
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:530: LOG(WARNING)
<< "Existing user '" << old_email
On 2015/09/29 19:02:07, Alexander Alekseev wrote:
> On 2015/09/29 18:18:42, achuithb wrote:
> > Should we make this LOG(INFO)?
> >
> > Also, should we add UMA stats for this event?
>
> LOG(INFO) is prohibited by precommit hooks.
> So you think we should still use INFO?
Doesn't feel like a WARNING, but I guess it's ok.
What about the UMA stat?
5 years, 2 months ago
(2015-09-29 19:12:43 UTC)
#14
On 2015/09/29 19:07:48, achuithb wrote:
>
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
> File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right):
>
>
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
> chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:530:
LOG(WARNING)
> << "Existing user '" << old_email
> On 2015/09/29 19:02:07, Alexander Alekseev wrote:
> > On 2015/09/29 18:18:42, achuithb wrote:
> > > Should we make this LOG(INFO)?
> > >
> > > Also, should we add UMA stats for this event?
> >
> > LOG(INFO) is prohibited by precommit hooks.
> > So you think we should still use INFO?
>
> Doesn't feel like a WARNING, but I guess it's ok.
>
> What about the UMA stat?
Let it be the separate CL, as we probably need to measure the number of users
using aliases, not the number of password change attempts.
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
On 2015/09/29 19:12:43, Alexander Alekseev wrote:
> On 2015/09/29 19:07:48, achuithb wrote:
> >
>
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
> > File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right):
> >
> >
>
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
> > chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:530:
> LOG(WARNING)
> > << "Existing user '" << old_email
> > On 2015/09/29 19:02:07, Alexander Alekseev wrote:
> > > On 2015/09/29 18:18:42, achuithb wrote:
> > > > Should we make this LOG(INFO)?
> > > >
> > > > Also, should we add UMA stats for this event?
> > >
> > > LOG(INFO) is prohibited by precommit hooks.
> > > So you think we should still use INFO?
> >
> > Doesn't feel like a WARNING, but I guess it's ok.
> >
> > What about the UMA stat?
>
> Let it be the separate CL, as we probably need to measure the number of users
> using aliases, not the number of password change attempts.
could you please file bugs for these 2 issues? UMA and browser tests.
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
On 2015/09/29 19:28:40, achuithb wrote:
> On 2015/09/29 19:12:43, Alexander Alekseev wrote:
> > On 2015/09/29 19:07:48, achuithb wrote:
> > >
> >
>
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
> > > File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
(right):
> > >
> > >
> >
>
https://codereview.chromium.org/1370913002/diff/20001/chrome/browser/ui/webui...
> > > chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:530:
> > LOG(WARNING)
> > > << "Existing user '" << old_email
> > > On 2015/09/29 19:02:07, Alexander Alekseev wrote:
> > > > On 2015/09/29 18:18:42, achuithb wrote:
> > > > > Should we make this LOG(INFO)?
> > > > >
> > > > > Also, should we add UMA stats for this event?
> > > >
> > > > LOG(INFO) is prohibited by precommit hooks.
> > > > So you think we should still use INFO?
> > >
> > > Doesn't feel like a WARNING, but I guess it's ok.
> > >
> > > What about the UMA stat?
> >
> > Let it be the separate CL, as we probably need to measure the number of
users
> > using aliases, not the number of password change attempts.
>
> could you please file bugs for these 2 issues? UMA and browser tests.
Done.
achuithb
lgtm
5 years, 2 months ago
(2015-09-29 20:35:49 UTC)
#17
lgtm
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
5 years, 2 months ago
(2015-09-29 20:36:07 UTC)
#18
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
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
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
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
5 years, 2 months ago
(2015-10-03 07:12:28 UTC)
#32
Dry run: This issue passed the CQ dry run.
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
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
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
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 7