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

Issue 1942883003: [Chrome OS Bootstrapping]: Do not always power off the Bluetooth adapter. (Closed)

Created:
4 years, 7 months ago by xdai1
Modified:
4 years, 7 months ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, sdefresne+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chrome OS Bootstrapping]: Do not always power off the Bluetooth adapter. After the bootstrapping attempt is successful/failed, or the user has logged into the system, power off the Bluetooth adapter only if the Bluetooth adapter was off before and there is no connected Bluetooth type HID device. BUG=chrome-os-partner:52828 Committed: https://crrev.com/b6391c22b6339579ade0295e5995c66da3f9a239 Cr-Commit-Position: refs/heads/master@{#391731}

Patch Set 1 #

Patch Set 2 : Add missing include of "content/public" #

Patch Set 3 : Add missing deps #

Total comments: 7

Patch Set 4 : Address achuith@'s comments. Fix the failed browsertest. #

Patch Set 5 : Remove the dependency on content/public. #

Total comments: 7

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -18 lines) Patch
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M components/pairing/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/pairing/DEPS View 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.h View 1 2 3 4 4 chunks +7 lines, -2 lines 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.cc View 1 2 3 4 6 chunks +36 lines, -10 lines 0 comments Download
M components/pairing/shark_connection_listener.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M components/pairing/shark_connection_listener.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M device/hid/fake_input_service_linux.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M device/hid/fake_input_service_linux.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M device/hid/input_service_linux.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (9 generated)
xdai1
achuith@, could you help review this CL please? Thanks!
4 years, 7 months ago (2016-05-02 22:48:20 UTC) #4
achuithb
https://codereview.chromium.org/1942883003/diff/60001/components/pairing/bluetooth_host_pairing_controller.cc File components/pairing/bluetooth_host_pairing_controller.cc (right): https://codereview.chromium.org/1942883003/diff/60001/components/pairing/bluetooth_host_pairing_controller.cc#newcode171 components/pairing/bluetooth_host_pairing_controller.cc:171: content::BrowserThread::FILE, FROM_HERE, base::Bind(&GetDevices), BrowserThread::FILE is deprecated, please use BlockingPool ...
4 years, 7 months ago (2016-05-02 23:02:40 UTC) #5
xdai1
achuith@, I've addressed your comments. Please take another look, thanks! +rockot@ for: the dependency /device/hid ...
4 years, 7 months ago (2016-05-03 00:30:27 UTC) #7
Avi (use Gerrit)
mmmm The point of components is that they don't depend on content. Why don't we ...
4 years, 7 months ago (2016-05-03 01:47:02 UTC) #8
Ken Rockot(use gerrit already)
device/hid lgtm. fwiw re avi@'s comment, there are plenty of components which depend on content, ...
4 years, 7 months ago (2016-05-03 16:01:58 UTC) #9
xdai1
rockot@, avi@, I removed the dependency on content/public as you suggested, please take another look, ...
4 years, 7 months ago (2016-05-03 18:49:08 UTC) #10
Avi (use Gerrit)
I'm happy, but there's nothing left here that requires my review.
4 years, 7 months ago (2016-05-04 00:03:08 UTC) #12
Ken Rockot(use gerrit already)
lgtm
4 years, 7 months ago (2016-05-04 00:05:22 UTC) #13
xdai1
On 2016/05/04 00:05:22, Ken Rockot wrote: > lgtm Thanks! achuith@, could you help take another ...
4 years, 7 months ago (2016-05-04 17:04:13 UTC) #14
achuithb
lgtm, please fix the nits below https://codereview.chromium.org/1942883003/diff/100001/device/hid/fake_input_service_linux.cc File device/hid/fake_input_service_linux.cc (right): https://codereview.chromium.org/1942883003/diff/100001/device/hid/fake_input_service_linux.cc#newcode31 device/hid/fake_input_service_linux.cc:31: for (const auto& ...
4 years, 7 months ago (2016-05-04 22:05:04 UTC) #15
xdai1
Addressed! Thanks for your review. https://codereview.chromium.org/1942883003/diff/100001/device/hid/fake_input_service_linux.cc File device/hid/fake_input_service_linux.cc (right): https://codereview.chromium.org/1942883003/diff/100001/device/hid/fake_input_service_linux.cc#newcode31 device/hid/fake_input_service_linux.cc:31: for (const auto& device ...
4 years, 7 months ago (2016-05-04 22:25:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942883003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942883003/120001
4 years, 7 months ago (2016-05-04 23:11:52 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 7 months ago (2016-05-05 02:09:05 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 02:11:58 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b6391c22b6339579ade0295e5995c66da3f9a239
Cr-Commit-Position: refs/heads/master@{#391731}

Powered by Google App Engine
This is Rietveld 408576698