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

Issue 3442009: [Chrome OS] Attempt offline and online login simultaneously (Closed)

Created:
10 years, 3 months ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
Nikita (slow)
CC:
chromium-reviews, Paweł Hajdan Jr., nkostylev+cc_chromium.org, davemoore+watch_chromium.org, ben+cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

[Chrome OS] Attempt offline and online login simultaneously This feature is behind the switch "--parallel-auth" BUG=chromium-os:4929 TEST=unit testss Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62131

Patch Set 1 #

Patch Set 2 : second #

Patch Set 3 : moar progress #

Patch Set 4 : progress #

Patch Set 5 : Changed OnLoginSuccess API #

Patch Set 6 : rebased #

Patch Set 7 : more code #

Patch Set 8 : Rebased against head #

Total comments: 6

Patch Set 9 : address initial comments #

Total comments: 44

Patch Set 10 : mostly add comments #

Patch Set 11 : fix mock_authenticator.h #

Patch Set 12 : Fix crash on data recover #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+1760 lines, -15 lines) Patch
M chrome/browser/chromeos/cros/cryptohome_library.h View 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/cryptohome_library.cc View 3 5 6 7 3 chunks +19 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/cros/mock_cryptohome_library.h View 1 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/authenticator.h View 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.h View 1 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.cc View 1 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_login_status_consumer.h View 5 6 7 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_url_fetchers.h View 1 5 6 7 8 9 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_url_fetchers.cc View 1 5 6 7 8 9 4 chunks +45 lines, -3 lines 0 comments Download
A chrome/browser/chromeos/login/parallel_authenticator.h View 2 3 4 5 6 7 8 9 10 11 1 chunk +272 lines, -0 lines 4 comments Download
A chrome/browser/chromeos/login/parallel_authenticator.cc View 2 3 4 5 6 7 8 9 10 11 1 chunk +635 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/parallel_authenticator_unittest.cc View 2 3 4 5 6 7 8 9 10 11 1 chunk +662 lines, -0 lines 7 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Chris Masone
10 years, 2 months ago (2010-10-05 16:41:34 UTC) #1
Chris Masone
On 2010/10/05 16:41:34, Chris Masone wrote: > Tried this out today on my device, and ...
10 years, 2 months ago (2010-10-06 07:02:06 UTC) #2
Nikita (slow)
Patched this CL, got crash on case of changed password. Entered NEW password, in the ...
10 years, 2 months ago (2010-10-06 15:03:20 UTC) #3
Nikita (slow)
crash in the same case, but selecting 2nd option (migrate), enter correct old password #0 ...
10 years, 2 months ago (2010-10-06 15:05:57 UTC) #4
Chris Masone
Those are both CHECK failures, because Resync and Recover want to be called on the ...
10 years, 2 months ago (2010-10-06 15:19:34 UTC) #5
Nikita (slow)
6 октября 2010 г. 19:19 пользователь Chris Masone <cmasone@chromium.org>написал: > Those are both CHECK failures, ...
10 years, 2 months ago (2010-10-06 15:21:56 UTC) #6
Chris Masone
On 2010/10/06 15:21:56, Nikita Kostylev wrote: > 6 октября 2010 г. 19:19 пользователь Chris Masone ...
10 years, 2 months ago (2010-10-06 15:23:37 UTC) #7
Chris Masone
I have also enable Resync and Recover to be called on the UI thread. http://codereview.chromium.org/3442009/diff/18001/19009 ...
10 years, 2 months ago (2010-10-06 21:01:18 UTC) #8
Nikita (slow)
http://codereview.chromium.org/3442009/diff/27001/28006 File chrome/browser/chromeos/login/mock_url_fetchers.cc (right): http://codereview.chromium.org/3442009/diff/27001/28006#newcode12 chrome/browser/chromeos/login/mock_url_fetchers.cc:12: #include "chrome/common/net/http_return.h" nit: alpha sort http://codereview.chromium.org/3442009/diff/27001/28006#newcode77 chrome/browser/chromeos/login/mock_url_fetchers.cc:77: LOG(INFO) << ...
10 years, 2 months ago (2010-10-06 22:12:14 UTC) #9
Nikita (slow)
http://codereview.chromium.org/3442009/diff/27001/28008 File chrome/browser/chromeos/login/parallel_authenticator.cc (right): http://codereview.chromium.org/3442009/diff/27001/28008#newcode82 chrome/browser/chromeos/login/parallel_authenticator.cc:82: false /* don't create */); Don't create? If it's ...
10 years, 2 months ago (2010-10-06 23:28:27 UTC) #10
Chris Masone
http://codereview.chromium.org/3442009/diff/27001/28006 File chrome/browser/chromeos/login/mock_url_fetchers.cc (right): http://codereview.chromium.org/3442009/diff/27001/28006#newcode12 chrome/browser/chromeos/login/mock_url_fetchers.cc:12: #include "chrome/common/net/http_return.h" On 2010/10/06 22:12:14, Nikita Kostylev wrote: > ...
10 years, 2 months ago (2010-10-07 01:19:05 UTC) #11
Nikita (slow)
Crash (cryptohome is not mounted) Change password, login with new password. Select migrate option, enter ...
10 years, 2 months ago (2010-10-07 14:23:50 UTC) #12
Chris Masone
Yes, because I never mounted the cryptohome following a key migration in this case. *facepalm* ...
10 years, 2 months ago (2010-10-07 15:10:47 UTC) #13
Nikita (slow)
http://codereview.chromium.org/3442009/diff/27001/28008 File chrome/browser/chromeos/login/parallel_authenticator.cc (right): http://codereview.chromium.org/3442009/diff/27001/28008#newcode246 chrome/browser/chromeos/login/parallel_authenticator.cc:246: void ParallelAuthenticator::RetryAuth(Profile* profile, On 2010/10/07 01:19:06, Chris Masone wrote: ...
10 years, 2 months ago (2010-10-07 16:20:15 UTC) #14
Chris Masone
I'm WFH today, so I can't send a photo right now :-/ As for the ...
10 years, 2 months ago (2010-10-07 16:32:30 UTC) #15
Nikita (slow)
LGTM Test cases suite look quite complete, great! http://codereview.chromium.org/3442009/diff/37001/38014 File chrome/browser/chromeos/login/parallel_authenticator_unittest.cc (right): http://codereview.chromium.org/3442009/diff/37001/38014#newcode370 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc:370: chromeos::kCryptohomeMountErrorKeyFailure); ...
10 years, 2 months ago (2010-10-07 22:43:06 UTC) #16
Chris Masone
http://codereview.chromium.org/3442009/diff/37001/38014 File chrome/browser/chromeos/login/parallel_authenticator_unittest.cc (right): http://codereview.chromium.org/3442009/diff/37001/38014#newcode548 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc:548: auth_->RetryAuth(&profile, On 2010/10/07 22:43:06, Nikita Kostylev wrote: > I'd ...
10 years, 2 months ago (2010-10-07 22:45:37 UTC) #17
Nikita (slow)
8 октября 2010 г. 2:45 пользователь <cmasone@chromium.org> написал: > > http://codereview.chromium.org/3442009/diff/37001/38014 > File chrome/browser/chromeos/login/parallel_authenticator_unittest.cc > ...
10 years, 2 months ago (2010-10-07 22:55:36 UTC) #18
Nikita (slow)
I believe this CL be submitted.
10 years, 2 months ago (2010-10-10 11:24:12 UTC) #19
Nikita (slow)
10 years, 2 months ago (2010-10-10 11:24:31 UTC) #20
Sorry, should be submitted.

Powered by Google App Engine
This is Rietveld 408576698