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

Issue 336933002: device/bluetooth: Introduce BluetoothGattConnection. (Closed)

Created:
6 years, 6 months ago by armansito
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

device/bluetooth: Introduce BluetoothGattConnection. This patch introduces the abstract API definitions for BluetoothGattConnection and BluetoothDevice::CreateGattConnection, which are used to manage the life time of a GATT connection among multiple apps that request it. BUG=384620 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278197

Patch Set 1 #

Patch Set 2 : ErrorCallback -> ConnectErrorCallback #

Total comments: 2

Patch Set 3 : GattConnectionCallback now takes in a scoped_ptr #

Total comments: 2

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebase #

Patch Set 6 : . #

Patch Set 7 : Returning ERROR_UNSUPPORTED_DEVICE from platforms. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -3 lines) Patch
M device/bluetooth/bluetooth.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 2 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_mac.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_mac.mm View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_gatt_connection.h View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A + device/bluetooth/bluetooth_gatt_connection.cc View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
armansito
6 years, 6 months ago (2014-06-14 02:36:58 UTC) #1
keybuk
+isherman for _mac OWNERS +rpaquay, xiyuan for _win
6 years, 6 months ago (2014-06-17 21:36:23 UTC) #2
xiyuan
_win LGTM
6 years, 6 months ago (2014-06-17 21:38:58 UTC) #3
keybuk
lgtm https://codereview.chromium.org/336933002/diff/20001/device/bluetooth/bluetooth_gatt_connection.h File device/bluetooth/bluetooth_gatt_connection.h (right): https://codereview.chromium.org/336933002/diff/20001/device/bluetooth/bluetooth_gatt_connection.h#newcode28 device/bluetooth/bluetooth_gatt_connection.h:28: virtual bool IsActive() const = 0; nit: "Connected" ...
6 years, 6 months ago (2014-06-17 21:41:06 UTC) #4
Ilya Sherman
_mac LGTM, thanks. https://codereview.chromium.org/336933002/diff/40001/device/bluetooth/bluetooth_device_mac.mm File device/bluetooth/bluetooth_device_mac.mm (right): https://codereview.chromium.org/336933002/diff/40001/device/bluetooth/bluetooth_device_mac.mm#newcode226 device/bluetooth/bluetooth_device_mac.mm:226: error_callback.Run(ERROR_UNKNOWN); nit: Do you think it's ...
6 years, 6 months ago (2014-06-17 21:53:48 UTC) #5
armansito
https://codereview.chromium.org/336933002/diff/20001/device/bluetooth/bluetooth_gatt_connection.h File device/bluetooth/bluetooth_gatt_connection.h (right): https://codereview.chromium.org/336933002/diff/20001/device/bluetooth/bluetooth_gatt_connection.h#newcode28 device/bluetooth/bluetooth_gatt_connection.h:28: virtual bool IsActive() const = 0; On 2014/06/17 21:41:06, ...
6 years, 6 months ago (2014-06-18 02:03:06 UTC) #6
armansito
The CQ bit was checked by armansito@chromium.org
6 years, 6 months ago (2014-06-18 02:03:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/336933002/60001
6 years, 6 months ago (2014-06-18 02:05:28 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 05:41:38 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/162374) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/151728) ios_rel_device_ninja ...
6 years, 6 months ago (2014-06-18 05:41:39 UTC) #10
armansito
The CQ bit was checked by armansito@chromium.org
6 years, 6 months ago (2014-06-18 18:13:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/336933002/120001
6 years, 6 months ago (2014-06-18 18:16:00 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 23:49:03 UTC) #13
Message was sent while issue was closed.
Change committed as 278197

Powered by Google App Engine
This is Rietveld 408576698