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

Issue 2898003002: Allow the powerwash shortcut only for devices without FRE (Closed)

Created:
3 years, 7 months ago by igorcov
Modified:
3 years, 6 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, Daniel Erat
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow the powerwash shortcut only for devices without FRE. The devices that have FRE enabled shouldn't be allowed to powerwash. This CL makes the keyboard shortcut for powerwash available only if the device doesn't have FRE enabled. BUG=724332 TEST=Manually tested for FRE enabled and FRE disabled functionality. Review-Url: https://codereview.chromium.org/2898003002 Cr-Commit-Position: refs/heads/master@{#476222} Committed: https://chromium.googlesource.com/chromium/src/+/ba2086693a48256aa1e74d7755e5e425464797bb

Patch Set 1 : Let the powerwash shortcut only for devices without FRE #

Total comments: 8

Patch Set 2 : Fixed review comments #

Total comments: 4

Patch Set 3 : Fixed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -33 lines) Patch
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc View 1 2 3 chunks +23 lines, -30 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 1 2 3 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
igorcov
atwilson@chromium.org: PTAL in auto_enrollment_controller tnagel@chromium.org: PTAL in auto_enrollment_controller derat@chromium.org: PTAL webui_login_view
3 years, 7 months ago (2017-05-22 16:14:26 UTC) #8
Daniel Erat
please add a reviewer from chrome/browser/chromeos/login/OWNERS -- use more-specific OWNERS files when available: achuith@chromium.org alemate@chromium.org ...
3 years, 7 months ago (2017-05-22 16:39:52 UTC) #9
igorcov
achuith@, PTAL webui_login_view. Thank you,
3 years, 7 months ago (2017-05-22 16:54:41 UTC) #11
achuithb
https://codereview.chromium.org/2898003002/diff/20001/chrome/browser/chromeos/login/ui/webui_login_view.cc File chrome/browser/chromeos/login/ui/webui_login_view.cc (right): https://codereview.chromium.org/2898003002/diff/20001/chrome/browser/chromeos/login/ui/webui_login_view.cc#newcode146 chrome/browser/chromeos/login/ui/webui_login_view.cc:146: AutoEnrollmentController::FRERequirement requirement = nit const. nit newline before this ...
3 years, 7 months ago (2017-05-22 19:21:29 UTC) #12
Andrew T Wilson (Slow)
LGTM but please don't check this CL in until you've confirmed with someone on the ...
3 years, 7 months ago (2017-05-23 05:32:06 UTC) #17
igorcov
Thank you Achuith and Drew for your comments. Please take a look again. https://codereview.chromium.org/2898003002/diff/20001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File ...
3 years, 7 months ago (2017-05-23 09:28:50 UTC) #18
achuithb
lgtm https://codereview.chromium.org/2898003002/diff/40001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h (right): https://codereview.chromium.org/2898003002/diff/40001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h#newcode74 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h:74: static FRERequirement GetFRERequirement(); Why not have: bool IsForcedAutoEnrollmentRequired(). ...
3 years, 7 months ago (2017-05-23 19:59:01 UTC) #19
Thiemo Nagel
AutoEnrollmentController lgtm % nits https://codereview.chromium.org/2898003002/diff/40001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc (right): https://codereview.chromium.org/2898003002/diff/40001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode82 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:82: AutoEnrollmentController::Mode AutoEnrollmentController::GetMode() { Nit: Add ...
3 years, 7 months ago (2017-05-24 10:50:40 UTC) #20
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/2898003002/60001
3 years, 6 months ago (2017-05-31 17:42:06 UTC) #23
Thiemo Nagel
Still lgtm.
3 years, 6 months ago (2017-05-31 17:43:17 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/452140)
3 years, 6 months ago (2017-05-31 18:39:14 UTC) #26
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/2898003002/60001
3 years, 6 months ago (2017-06-01 07:39:17 UTC) #28
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 07:44:04 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ba2086693a48256aa1e74d7755e5...

Powered by Google App Engine
This is Rietveld 408576698