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

Issue 3583013: [cros] Add blocking UI on offline: OK, online auth: fail case. (Closed)

Created:
10 years, 2 months ago by Nikita (slow)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, nkostylev+cc_chromium.org, davemoore+watch_chromium.org, ben+cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

[cros] Add blocking UI on offline: OK, online auth: fail case. Using ParallelAuthenticator to test http://codereview.chromium.org/3442009 BUG=chromium-os:6638 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68013

Patch Set 1 #

Patch Set 2 : iteration #1 #

Patch Set 3 : proper description + cover edge cases #

Patch Set 4 : release warning #

Total comments: 2

Patch Set 5 : merge, add/remove observer, proper check for screen lock #

Total comments: 22

Patch Set 6 : fix build, clear delegate #

Patch Set 7 : fix build #

Total comments: 12

Patch Set 8 : adress avayvod comments #

Patch Set 9 : merge #

Patch Set 10 : fix crashes, use proper API #

Patch Set 11 : check whether screen is already locked/unlocked #

Total comments: 4

Patch Set 12 : merge & revert ParallelAuthenticator fix #

Patch Set 13 : remove debug logging #

Total comments: 15

Patch Set 14 : fix for review comments #

Total comments: 4

Patch Set 15 : add flag #

Patch Set 16 : removed unused flag #

Total comments: 14

Patch Set 17 : address cmasone, oshima comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -92 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_performer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +81 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/login_performer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +306 lines, -41 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/password_changed_view.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/password_changed_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +57 lines, -28 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Nikita (slow)
We'll be executing offline auth first and delete login windows, bring up UI once it's ...
10 years, 2 months ago (2010-10-05 14:13:57 UTC) #1
Chris Masone
On 2010/10/05 14:13:57, Nikita Kostylev wrote: > We'll be executing offline auth first and delete ...
10 years, 2 months ago (2010-10-05 15:59:13 UTC) #2
Nikita (slow)
I'll wait for Chris pending CLs and integrate with them.
10 years, 2 months ago (2010-10-05 16:00:31 UTC) #3
oshima
What happens if A user closed a lid (or ctrl-alt-l) while it's performing remote auth? ...
10 years, 2 months ago (2010-10-05 18:18:26 UTC) #4
Nikita (slow)
- user locks the screen during remote auth In this case request for screen lock ...
10 years, 2 months ago (2010-10-05 19:15:45 UTC) #5
oshima
On Tue, Oct 5, 2010 at 12:15 PM, <nkostylev@chromium.org> wrote: > - user locks the ...
10 years, 2 months ago (2010-10-05 20:52:01 UTC) #6
Chris Masone
On Tue, Oct 5, 2010 at 1:51 PM, oshima <oshima@chromium.org> wrote: > > > On ...
10 years, 2 months ago (2010-10-06 04:55:09 UTC) #7
oshima
On Tue, Oct 5, 2010 at 9:54 PM, Chris Masone <cmasone@chromium.org> wrote: > > > ...
10 years, 2 months ago (2010-10-06 09:34:01 UTC) #8
Nikita (slow)
I propose continue using AuthenticateToUnlock in ScreenLocker unless last online login attempt failed (i.e. LoginPerformer ...
10 years, 2 months ago (2010-10-06 12:22:27 UTC) #9
oshima
On Wed, Oct 6, 2010 at 5:22 AM, <nkostylev@chromium.org> wrote: > I propose continue using ...
10 years, 2 months ago (2010-10-06 15:49:01 UTC) #10
whywhat
http://codereview.chromium.org/3583013/diff/16001/17001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3583013/diff/16001/17001#newcode9865 chrome/app/generated_resources.grd:9865: <message name="IDS_LOGIN_ERROR_PASSWORD_CHANGED" desc="Couldn't log in because new password is ...
10 years, 2 months ago (2010-10-06 16:22:34 UTC) #11
Nikita (slow)
http://codereview.chromium.org/3583013/diff/16001/17001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3583013/diff/16001/17001#newcode9865 chrome/app/generated_resources.grd:9865: <message name="IDS_LOGIN_ERROR_PASSWORD_CHANGED" desc="Couldn't log in because new password is ...
10 years, 2 months ago (2010-10-07 13:27:48 UTC) #12
Nikita (slow)
Please take a look. I'm intending to land this change on TOT only. It's been ...
10 years, 1 month ago (2010-11-16 15:39:26 UTC) #13
Nikita (slow)
As for infinite loop in ParallelAuthenticator - I'll land my change w/o fix in parallel_authenticator.cc. ...
10 years, 1 month ago (2010-11-16 21:46:25 UTC) #14
Nikita (slow)
Issue in ParallelAuthenticator is now fixed at http://codereview.chromium.org/5108001/ Issue with mispositioned error bubble on ScreenLocker ...
10 years, 1 month ago (2010-11-17 14:26:10 UTC) #15
oshima
Let's do this next week. We're pretty busy now and should be working on R9.x ...
10 years, 1 month ago (2010-11-18 04:34:20 UTC) #16
whywhat
http://codereview.chromium.org/3583013/diff/41001/chrome/browser/chromeos/login/login_performer.cc File chrome/browser/chromeos/login/login_performer.cc (right): http://codereview.chromium.org/3583013/diff/41001/chrome/browser/chromeos/login/login_performer.cc#newcode37 chrome/browser/chromeos/login/login_performer.cc:37: DCHECK(default_performer_ == NULL); Add a message to DCHECK? http://codereview.chromium.org/3583013/diff/41001/chrome/browser/chromeos/login/login_performer.cc#newcode42 ...
10 years ago (2010-11-25 15:40:37 UTC) #17
Nikita (slow)
http://codereview.chromium.org/3583013/diff/41001/chrome/browser/chromeos/login/login_performer.cc File chrome/browser/chromeos/login/login_performer.cc (right): http://codereview.chromium.org/3583013/diff/41001/chrome/browser/chromeos/login/login_performer.cc#newcode37 chrome/browser/chromeos/login/login_performer.cc:37: DCHECK(default_performer_ == NULL); On 2010/11/25 15:40:37, whywhat wrote: > ...
10 years ago (2010-11-29 11:20:25 UTC) #18
whywhat
LGTM http://codereview.chromium.org/3583013/diff/50001/chrome/browser/chromeos/login/password_changed_view.h File chrome/browser/chromeos/login/password_changed_view.h (right): http://codereview.chromium.org/3583013/diff/50001/chrome/browser/chromeos/login/password_changed_view.h#newcode67 chrome/browser/chromeos/login/password_changed_view.h:67: return false; On 2010/11/29 11:20:25, Nikita Kostylev wrote: ...
10 years ago (2010-11-29 12:03:51 UTC) #19
oshima
Thanks, looks better now. Just one edge case we need to deal with. http://codereview.chromium.org/3583013/diff/61001/chrome/browser/chromeos/login/login_performer.cc File ...
10 years ago (2010-11-29 20:10:10 UTC) #20
Nikita (slow)
Mitsuru, Chris, Please take a look. http://codereview.chromium.org/3583013/diff/61001/chrome/browser/chromeos/login/login_performer.cc File chrome/browser/chromeos/login/login_performer.cc (right): http://codereview.chromium.org/3583013/diff/61001/chrome/browser/chromeos/login/login_performer.cc#newcode181 chrome/browser/chromeos/login/login_performer.cc:181: ResolveScreenLocked(); On 2010/11/29 ...
10 years ago (2010-12-01 12:42:57 UTC) #21
Nikita (slow)
http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/login/login_performer.cc File chrome/browser/chromeos/login/login_performer.cc (right): http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/login/login_performer.cc#newcode117 chrome/browser/chromeos/login/login_performer.cc:117: // TODO(nkostylev): Execute CookieFetcher->AttemptFetch() here once http://crosbug.com/9814 http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/login/login_performer.cc#newcode362 chrome/browser/chromeos/login/login_performer.cc:362: ...
10 years ago (2010-12-01 15:02:52 UTC) #22
Chris Masone
Unless the whitelist check part is actually wrong (and not just a comment that confused ...
10 years ago (2010-12-01 18:12:21 UTC) #23
oshima
LGTM on locker bits. http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/login/login_performer.cc File chrome/browser/chromeos/login/login_performer.cc (right): http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/login/login_performer.cc#newcode117 chrome/browser/chromeos/login/login_performer.cc:117: // TODO(nkostylev): Execute CookieFetcher->AttemptFetch() here ...
10 years ago (2010-12-01 23:46:53 UTC) #24
Nikita (slow)
10 years ago (2010-12-02 10:39:52 UTC) #25
http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
File chrome/browser/chromeos/login/login_performer.cc (right):

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/login_performer.cc:82: LOG(INFO) << "Online login
timed out. "
On 2010/12/01 18:12:21, Chris Masone wrote:
> VLOG(1)?

Done.

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/login_performer.cc:117: // TODO(nkostylev):
Execute CookieFetcher->AttemptFetch() here once
On 2010/12/01 23:46:53, oshima wrote:
> On 2010/12/01 15:02:52, Nikita Kostylev wrote:
> > http://crosbug.com/9814
> 
> Add the above link in the comment.

Done.

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/login_performer.cc:198: // Whitelist check is
performed during offline login only.
On 2010/12/01 18:12:21, Chris Masone wrote:
> During offline login only?  It shouldn't happen during screen unlock, that's
> true, but it should always happen when someone's initially logging in to the
> device...is that what you mean?

Yes, comment was wrong, fixed.

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/login_performer.cc:305: LOG(INFO) << "Online login
timed out - unlocking screen. "
On 2010/12/01 18:12:21, Chris Masone wrote:
> Maybe LOG(WARNING)?

Done.

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/login_performer.cc:362: // TODO(nkostylev):
Instruct ScreenLocker to show CAPTCHA input.
On 2010/12/01 23:46:53, oshima wrote:
> On 2010/12/01 15:02:52, Nikita Kostylev wrote:
> > http://crosbug.com/9812
> 
> include bug in the comment.

Done.

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
File chrome/browser/chromeos/login/parallel_authenticator.cc (right):

http://codereview.chromium.org/3583013/diff/74001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/parallel_authenticator.cc:277: VLOG(1) <<
"Resolving state: " << state;
On 2010/12/01 18:12:21, Chris Masone wrote:
> nit: I might say "Resolved state to: " or something.  You already figured out
> what state we're in, now we're just deciding what to do based on that state.

Done.

Powered by Google App Engine
This is Rietveld 408576698