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

Issue 2771803003: Don't start FRE from the login screen (Closed)

Created:
3 years, 9 months ago by Thiemo Nagel
Modified:
3 years, 8 months ago
Reviewers:
achuithb, igorcov
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, alemate+watch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, achuith+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, davemoore+watch_chromium.org, igorcov
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't start FRE from the login screen Starting FRE from the login screen goes back to the auto-enrollment days and is not needed anymore (and causes crashes). Removing that code path has the benefit of allowing to move the AutoEnrollmentController from LoginDisplayHost to WizardController. Also: - Fold AutoEnrollmentController::Cancel() into ...::Timeout() which had become its only caller. - Add VLOG() to gain insight into the workings of AutoEnrollmentClient. BUG=703658 Review-Url: https://codereview.chromium.org/2771803003 Cr-Commit-Position: refs/heads/master@{#466031} Committed: https://chromium.googlesource.com/chromium/src/+/723dbf022b3038d9241fbf7767b46b61c0085e39

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase #

Patch Set 3 : Fix merge error #

Patch Set 4 : Address comments, drop OnNetworkConnected part #

Patch Set 5 : Fix browser tests #

Total comments: 7

Patch Set 6 : Address comments #

Patch Set 7 : Rebase #

Patch Set 8 : Improve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -126 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc View 1 2 3 4 5 6 7 5 chunks +31 lines, -32 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 1 2 3 4 5 6 3 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host.h View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.h View 1 2 3 4 5 6 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 1 2 3 4 5 6 4 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/login/ui/mock_login_display_host.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.h View 1 2 3 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 5 6 5 chunks +16 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller_browsertest.cc View 1 2 3 6 chunks +22 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/policy/auto_enrollment_client.h View 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/auto_enrollment_client.cc View 1 7 chunks +15 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/policy/server_backed_state_keys_broker.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 42 (33 generated)
Thiemo Nagel
Hi Achuith, could you please take a look at this cleanup of FRE? Thank you ...
3 years, 9 months ago (2017-03-23 23:56:00 UTC) #7
achuithb
lgtm. This CL is mainly about auto-enrollment, but has a sprinkling of random things like ...
3 years, 9 months ago (2017-03-24 01:33:29 UTC) #10
Thiemo Nagel
Hi Achuith, sorry for the slow turnaround, I was OOO for a week (and also ...
3 years, 8 months ago (2017-04-12 14:30:40 UTC) #20
achuithb
lgtm https://codereview.chromium.org/2771803003/diff/20001/chrome/browser/chromeos/login/wizard_controller_browsertest.cc File chrome/browser/chromeos/login/wizard_controller_browsertest.cc (right): https://codereview.chromium.org/2771803003/diff/20001/chrome/browser/chromeos/login/wizard_controller_browsertest.cc#newcode1333 chrome/browser/chromeos/login/wizard_controller_browsertest.cc:1333: // TODO(dzhioev): Add test emulating device with wrong ...
3 years, 8 months ago (2017-04-19 19:04:43 UTC) #27
Thiemo Nagel
Igor, could you please take a look at PS#6 and PS#8 and let me know ...
3 years, 8 months ago (2017-04-20 13:24:00 UTC) #31
igorcov
lgtm
3 years, 8 months ago (2017-04-20 16:29:16 UTC) #35
Thiemo Nagel
Thank you Achuith and Igor!
3 years, 8 months ago (2017-04-20 16:33:02 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2771803003/180001
3 years, 8 months ago (2017-04-20 16:33:11 UTC) #39
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 17:10:36 UTC) #42
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/723dbf022b3038d9241fbf7767b4...

Powered by Google App Engine
This is Rietveld 408576698