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

Issue 12310048: Bluetooth: Add a "connectable" property to the BluetoothDevice. (Closed)

Created:
7 years, 10 months ago by deymo
Modified:
7 years, 10 months ago
Reviewers:
keybuk, bryeung, kevers
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, youngki, kevers, Dan Beam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Bluetooth: Add a "connectable" property to the BluetoothDevice. This fix adds a new "connectable" property to the BluetoothDevice telling whether the device normally accepts connections initiated from the adapter when the device is paired but disconnected. Mice and keyboards are usually not connectable under this definition, while any other device is usually connectable. BUG=chromium-os:38410 TEST=Run in Debug mode and watch the "connectable" property in the chrome logs. A bluetooth mouse show connectable=0. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184287

Patch Set 1 #

Total comments: 17

Patch Set 2 : Comments addressed #

Patch Set 3 : Fixed the bug about calling twice the callback. #

Total comments: 15

Patch Set 4 : niiiiiiiiiiits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -48 lines) Patch
M device/bluetooth/bluetooth_device.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.h View 1 2 3 3 chunks +35 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 1 2 3 4 chunks +83 lines, -17 lines 0 comments Download
M device/bluetooth/bluetooth_service_record.h View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_service_record_chromeos.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_service_record_chromeos.cc View 1 2 3 6 chunks +64 lines, -22 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
deymo
This is the first part of a series of three patches: 1. add the service ...
7 years, 10 months ago (2013-02-21 20:21:43 UTC) #1
keybuk
TEST= lines are mandatory in commit messages please add youngki to Cc, since this adds ...
7 years, 10 months ago (2013-02-21 21:08:57 UTC) #2
Dan Beam
$ head -3 chrome/browser/ui/webui/options/chromeos/OWNERS dpolukhin@chromium.org glotov@chromium.org nkostylev@chromium.org you may want to ask one of them ...
7 years, 10 months ago (2013-02-21 22:41:55 UTC) #3
Dan Beam
https://codereview.chromium.org/12310048/diff/1/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc File chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc (right): https://codereview.chromium.org/12310048/diff/1/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc#newcode366 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc:366: error_name = "bluetoothConnectSdpFailed"; what does SDP mean? https://codereview.chromium.org/12310048/diff/1/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc#newcode418 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc:418: ...
7 years, 10 months ago (2013-02-21 22:42:40 UTC) #4
deymo
Hi! Second patch uploaded, also I updated the description to add the TEST= (although it ...
7 years, 10 months ago (2013-02-22 23:09:09 UTC) #5
deymo
Third patch uploaded. This is just a bugfix about the callback or error_callback being called ...
7 years, 10 months ago (2013-02-22 23:39:58 UTC) #6
keybuk
lgtm with a few nits to correct before committing https://codereview.chromium.org/12310048/diff/1/device/bluetooth/bluetooth_device_chromeos.cc File device/bluetooth/bluetooth_device_chromeos.cc (right): https://codereview.chromium.org/12310048/diff/1/device/bluetooth/bluetooth_device_chromeos.cc#newcode430 device/bluetooth/bluetooth_device_chromeos.cc:430: ...
7 years, 10 months ago (2013-02-22 23:50:02 UTC) #7
deymo
New patch with keybuk's nits. https://codereview.chromium.org/12310048/diff/9001/device/bluetooth/bluetooth_device_chromeos.cc File device/bluetooth/bluetooth_device_chromeos.cc (right): https://codereview.chromium.org/12310048/diff/9001/device/bluetooth/bluetooth_device_chromeos.cc#newcode475 device/bluetooth/bluetooth_device_chromeos.cc:475: } On 2013/02/22 23:50:03, ...
7 years, 10 months ago (2013-02-23 00:43:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/12310048/4010
7 years, 10 months ago (2013-02-23 01:51:44 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-23 05:56:54 UTC) #10
Message was sent while issue was closed.
Change committed as 184287

Powered by Google App Engine
This is Rietveld 408576698