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

Issue 2383953002: [Bootstrapping] Introduce an accelerator to put a ChromeOS device into Slave OOBE process. (Closed)

Created:
4 years, 2 months ago by xdai1
Modified:
4 years, 2 months ago
Reviewers:
achuithb
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Bootstrapping] Introduce an accelerator (Ctrl+Alt+Shift+S) to put a ChromeOS device into Slave OOBE process. In order to enhance the security and avoid the Bluetooth in-middle attach between Master and Slave, we've decided to do the followings for a Slave device: - For devices lacking sufficient input, e.g., Chromebit, keep the state as it is today: - The ChromeOS device will put itself in Bluetooth discoverable mode in the first OOBE screen (HID detection screen) and accpet the incoming connection request from the Bootstrapping app. - For devices with sufficient input, e.g., Chromebook: - The ChromeOS device will have Bluetooth disabled by default as in normal OOBE flow - Upon the user pressing the accelerator (Ctrl+Alt+Shift+S) in the first OOBE screen (Network screen): the device will put itself in Bluetooth discoveralbe mode and accept the incoming connection request from the Bootstrapping app. BUG=652003 Committed: https://crrev.com/ee4b4ddc4c4fe256caa19b23d13358eec6740da0 Cr-Commit-Position: refs/heads/master@{#423718}

Patch Set 1 : . #

Patch Set 2 : Only add acclerator for the Slave device. #

Total comments: 6

Patch Set 3 : Address the comments. #

Total comments: 19

Patch Set 4 : Address achuith@'s comments. #

Total comments: 3

Patch Set 5 : Address achuith@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -23 lines) Patch
M chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc View 1 2 3 4 chunks +53 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/login/startup_utils.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 3 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/login/display_manager.js View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
xdai1
achuith@, could you help review this CL please? Thanks!
4 years, 2 months ago (2016-10-01 00:19:54 UTC) #5
achuithb
Where are you differentiating between Chromebits and other devices? https://codereview.chromium.org/2383953002/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/2383953002/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc#newcode112 chrome/browser/chromeos/login/wizard_controller.cc:112: ...
4 years, 2 months ago (2016-10-01 16:49:18 UTC) #9
xdai1
achuith@, I've addressed your comments. Please take another look, thanks! https://codereview.chromium.org/2383953002/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/2383953002/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc#newcode113 ...
4 years, 2 months ago (2016-10-03 21:08:00 UTC) #10
xdai1
achuith@, kindly ping?
4 years, 2 months ago (2016-10-05 17:00:08 UTC) #11
achuithb
https://codereview.chromium.org/2383953002/diff/60001/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc File chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc (right): https://codereview.chromium.org/2383953002/diff/60001/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc#newcode51 chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc:51: class BluetoothHostPairingTestNoInput : public OobeBaseTest { Isn't BluetoothHostPairingNoInputTest better? ...
4 years, 2 months ago (2016-10-05 22:24:10 UTC) #12
xdai1
achuith@, I've addressed your comments. Please take another look, thanks! https://codereview.chromium.org/2383953002/diff/60001/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc File chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc (right): https://codereview.chromium.org/2383953002/diff/60001/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc#newcode51 ...
4 years, 2 months ago (2016-10-05 23:57:29 UTC) #13
achuithb
lgtm with the following renames https://codereview.chromium.org/2383953002/diff/80001/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc File chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc (right): https://codereview.chromium.org/2383953002/diff/80001/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc#newcode164 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc:164: AddCallback("setOobeBootstrappingRole", setBootstrappingSlave https://codereview.chromium.org/2383953002/diff/80001/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h File ...
4 years, 2 months ago (2016-10-06 18:25:34 UTC) #14
xdai1
Comments addressed. Thanks for your review! https://codereview.chromium.org/2383953002/diff/80001/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h File chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h (right): https://codereview.chromium.org/2383953002/diff/80001/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h#newcode146 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h:146: void HandleSetOobeBootstrappingRole(); On ...
4 years, 2 months ago (2016-10-06 21:49:11 UTC) #15
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/2383953002/100001
4 years, 2 months ago (2016-10-06 21:59:13 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago (2016-10-06 22:52:57 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 22:56:28 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ee4b4ddc4c4fe256caa19b23d13358eec6740da0
Cr-Commit-Position: refs/heads/master@{#423718}

Powered by Google App Engine
This is Rietveld 408576698