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

Issue 539273002: Added UI to enable debugging features on CrOS (Closed)

Created:
6 years, 3 months ago by zel
Modified:
6 years, 1 month ago
Reviewers:
xiyuan, Nikita (slow)
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org, dpursell
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Added UI to enable debugging features on CrOS BUG=403165 TEST=EnableDebuggingNonDevTest.NoShowInNonDevMode, EnableDebuggingTest.ShowAndCancelRemoveProtection, EnableDebuggingTest.ShowAndRemoveProtection, EnableDebuggingTest.ShowSetup, WizardControllerEnableDebuggingTest.ShowAndCancelEnableDebugging TBR=mnissler Committed: https://crrev.com/459b11b10f0f18c4111bcfa973be5244171f1412 Cr-Commit-Position: refs/heads/master@{#304161}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 43

Patch Set 7 : #

Total comments: 8

Patch Set 8 : rebase #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 24

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : rebase #

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1696 lines, -27 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 7 8 9 10 3 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_signin_screen.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_signin_screen.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/enable_debugging_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 16 1 chunk +326 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/help_app_launcher.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/base_screen_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/core_oobe_actor.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/chromeos/login/screens/enable_debugging_screen.h View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/screens/enable_debugging_screen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +57 lines, -0 lines 0 comments Download
A + chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h View 1 2 3 4 5 6 3 chunks +8 lines, -8 lines 0 comments Download
A chrome/browser/chromeos/login/screens/mock_enable_debugging_screen.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/screens/mock_enable_debugging_screen.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/oobe_display.h View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_display.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_display.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +22 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +56 lines, -2 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login_resources.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe.js View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
A chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.css View 1 2 3 4 5 6 7 1 chunk +112 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.html View 1 2 3 4 5 6 7 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +171 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_network.css View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_network.html View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_network.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screens.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 1 2 3 4 5 6 7 8 9 3 chunks +19 lines, -1 line 0 comments Download
A chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +246 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.h View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 2 3 4 6 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +15 lines, -3 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +40 lines, -0 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +83 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.h View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +35 lines, -1 line 0 comments Download
M ui/login/display_manager.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +23 lines, -1 line 0 comments Download
M ui/login/screen_container.css View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
zel
6 years, 1 month ago (2014-10-30 02:09:51 UTC) #2
xiyuan
LGTM with nits https://codereview.chromium.org/539273002/diff/100001/chrome/browser/chromeos/login/screens/enable_debugging_screen.h File chrome/browser/chromeos/login/screens/enable_debugging_screen.h (right): https://codereview.chromium.org/539273002/diff/100001/chrome/browser/chromeos/login/screens/enable_debugging_screen.h#newcode11 chrome/browser/chromeos/login/screens/enable_debugging_screen.h:11: #include "base/compiler_specific.h" nit: Include "base/macros.h" for ...
6 years, 1 month ago (2014-10-30 03:52:09 UTC) #3
zel
https://codereview.chromium.org/539273002/diff/100001/chrome/browser/chromeos/login/screens/enable_debugging_screen.h File chrome/browser/chromeos/login/screens/enable_debugging_screen.h (right): https://codereview.chromium.org/539273002/diff/100001/chrome/browser/chromeos/login/screens/enable_debugging_screen.h#newcode11 chrome/browser/chromeos/login/screens/enable_debugging_screen.h:11: #include "base/compiler_specific.h" On 2014/10/30 03:52:08, xiyuan wrote: > nit: ...
6 years, 1 month ago (2014-10-31 01:22:27 UTC) #4
xiyuan
https://codereview.chromium.org/539273002/diff/100001/chrome/browser/resources/chromeos/login/oobe_screen_network.js File chrome/browser/resources/chromeos/login/oobe_screen_network.js (right): https://codereview.chromium.org/539273002/diff/100001/chrome/browser/resources/chromeos/login/oobe_screen_network.js#newcode44 chrome/browser/resources/chromeos/login/oobe_screen_network.js:44: if (event.keyCode == 32) On 2014/10/31 01:22:26, zel wrote: ...
6 years, 1 month ago (2014-10-31 03:36:01 UTC) #5
zel
https://codereview.chromium.org/539273002/diff/120001/chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc (right): https://codereview.chromium.org/539273002/diff/120001/chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc#newcode81 chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc:81: ready_for_setup_ = prefs->GetBoolean(prefs::kDebuggingFeaturesRequested); On 2014/10/31 03:36:01, xiyuan wrote: > ...
6 years, 1 month ago (2014-10-31 23:23:43 UTC) #6
xiyuan
LGTM!
6 years, 1 month ago (2014-11-01 00:41:24 UTC) #7
dpursell
A few notes, but I'm not super familiar with this code so feel free to ...
6 years, 1 month ago (2014-11-04 19:33:01 UTC) #8
Nikita (slow)
https://chromiumcodereview.appspot.com/539273002/diff/180001/chrome/browser/chromeos/login/help_app_launcher.h File chrome/browser/chromeos/login/help_app_launcher.h (right): https://chromiumcodereview.appspot.com/539273002/diff/180001/chrome/browser/chromeos/login/help_app_launcher.h#newcode43 chrome/browser/chromeos/login/help_app_launcher.h:43: HELP_ENABLE_DEBUGGING = 183084, nit: Please make sure that there's ...
6 years, 1 month ago (2014-11-05 17:33:15 UTC) #9
Nikita (slow)
lgtm https://chromiumcodereview.appspot.com/539273002/diff/180001/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js File chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js (right): https://chromiumcodereview.appspot.com/539273002/diff/180001/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js#newcode12 chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js:12: /* Possible UI states of the reset screen. ...
6 years, 1 month ago (2014-11-05 17:51:28 UTC) #10
zel
https://chromiumcodereview.appspot.com/539273002/diff/180001/chrome/browser/chromeos/login/help_app_launcher.h File chrome/browser/chromeos/login/help_app_launcher.h (right): https://chromiumcodereview.appspot.com/539273002/diff/180001/chrome/browser/chromeos/login/help_app_launcher.h#newcode43 chrome/browser/chromeos/login/help_app_launcher.h:43: HELP_ENABLE_DEBUGGING = 183084, On 2014/11/05 17:33:15, Nikita wrote: > ...
6 years, 1 month ago (2014-11-11 01:02:28 UTC) #11
dpursell
https://chromiumcodereview.appspot.com/539273002/diff/180001/chromeos/dbus/debug_daemon_client.h File chromeos/dbus/debug_daemon_client.h (right): https://chromiumcodereview.appspot.com/539273002/diff/180001/chromeos/dbus/debug_daemon_client.h#newcode169 chromeos/dbus/debug_daemon_client.h:169: DEV_FEATURE_DEV_MODE_ROOT_PASSWORD_SET, On 2014/11/11 01:02:28, zel wrote: > On 2014/11/04 ...
6 years, 1 month ago (2014-11-11 22:53:49 UTC) #12
zel
https://chromiumcodereview.appspot.com/539273002/diff/180001/chromeos/dbus/debug_daemon_client.h File chromeos/dbus/debug_daemon_client.h (right): https://chromiumcodereview.appspot.com/539273002/diff/180001/chromeos/dbus/debug_daemon_client.h#newcode169 chromeos/dbus/debug_daemon_client.h:169: DEV_FEATURE_DEV_MODE_ROOT_PASSWORD_SET, On 2014/11/11 22:53:49, dpursell wrote: > On 2014/11/11 ...
6 years, 1 month ago (2014-11-12 16:04:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/539273002/280001
6 years, 1 month ago (2014-11-12 16:06:03 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/11176)
6 years, 1 month ago (2014-11-12 17:54:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/539273002/320001
6 years, 1 month ago (2014-11-14 00:17:27 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/11814)
6 years, 1 month ago (2014-11-14 01:49:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/539273002/340001
6 years, 1 month ago (2014-11-14 02:19:08 UTC) #23
commit-bot: I haz the power
Committed patchset #18 (id:340001)
6 years, 1 month ago (2014-11-14 04:06:03 UTC) #24
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 04:06:36 UTC) #25
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/459b11b10f0f18c4111bcfa973be5244171f1412
Cr-Commit-Position: refs/heads/master@{#304161}

Powered by Google App Engine
This is Rietveld 408576698