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

Issue 1292263002: bluetooth: Create base class BluetoothDevice::CreateGattConnection impl. (Closed)

Created:
5 years, 4 months ago by scheib
Modified:
5 years, 3 months ago
CC:
chromium-reviews, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bt-adapter-
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Create base class BluetoothDevice::CreateGattConnection impl. A common base class implementation of CreateGattConnection is implemented here that will be appropriate for at least the Android and Mac platforms. Part of a 4 patch series: https://crrev.com/1287753002 Remove Disconnect callback https://crrev.com/1284073002 Add adapter_ to BluetoothDevice https://crrev.com/1292263002 BluetoothDevice::CreateGattConnection Impl <<< https://crrev.com/1256313002 Android Impl & tests. BUG=512643 Committed: https://crrev.com/9556087a448034de335fc651008947bfa73c1cdd Cr-Commit-Position: refs/heads/master@{#349900}

Patch Set 1 #

Patch Set 2 : Updated patchset dependency #

Total comments: 29

Patch Set 3 : Merge TOT #

Patch Set 4 : addressed jyasskin comments, fixed BluetoothDevice destructor re-entrancy. #

Total comments: 10

Patch Set 5 : address jyasskin #

Total comments: 6

Patch Set 6 : address jyasskin #

Patch Set 7 : fix ProximityAuthBluetoothLowEnergyConnectionTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -42 lines) Patch
M components/proximity_auth/ble/bluetooth_low_energy_connection_unittest.cc View 1 2 3 4 5 6 3 chunks +2 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_classic_device_mac.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_classic_device_mac.mm View 1 2 chunks +11 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 2 3 4 5 5 chunks +44 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 2 3 4 5 4 chunks +61 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.h View 2 chunks +5 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.cc View 1 2 3 3 chunks +16 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 2 chunks +17 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_connection.h View 1 2 3 4 3 chunks +29 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_connection.cc View 1 2 3 1 chunk +38 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_gatt_connection_chromeos.h View 1 2 chunks +0 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_connection_chromeos.cc View 2 chunks +2 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 chunks +16 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_connection.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (8 generated)
Jeffrey Yasskin
https://codereview.chromium.org/1292263002/diff/20001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/1292263002/diff/20001/device/bluetooth/bluetooth_device.cc#newcode308 device/bluetooth/bluetooth_device.cc:308: DidFailToConnectGatt(ERROR_UNKNOWN); Don't use "UNKNOWN" here (or ever, really). If ...
5 years, 4 months ago (2015-08-19 22:49:46 UTC) #2
scheib
https://codereview.chromium.org/1292263002/diff/20001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/1292263002/diff/20001/device/bluetooth/bluetooth_device.cc#newcode308 device/bluetooth/bluetooth_device.cc:308: DidFailToConnectGatt(ERROR_UNKNOWN); On 2015/08/19 22:49:45, Jeffrey Yasskin wrote: > Don't ...
5 years, 3 months ago (2015-09-13 02:40:28 UTC) #3
Jeffrey Yasskin
https://codereview.chromium.org/1292263002/diff/20001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/1292263002/diff/20001/device/bluetooth/bluetooth_device.cc#newcode308 device/bluetooth/bluetooth_device.cc:308: DidFailToConnectGatt(ERROR_UNKNOWN); On 2015/09/13 02:40:27, scheib wrote: > On 2015/08/19 ...
5 years, 3 months ago (2015-09-16 00:45:39 UTC) #4
scheib
https://codereview.chromium.org/1292263002/diff/60001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/1292263002/diff/60001/device/bluetooth/bluetooth_device.cc#newcode319 device/bluetooth/bluetooth_device.cc:319: for (auto connection : gatt_connections_) { On 2015/09/16 00:45:39, ...
5 years, 3 months ago (2015-09-16 21:19:08 UTC) #6
Jeffrey Yasskin
lgtm https://codereview.chromium.org/1292263002/diff/140001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/1292263002/diff/140001/device/bluetooth/bluetooth_device.cc#newcode7 device/bluetooth/bluetooth_device.cc:7: #include <limits> I think you don't need this ...
5 years, 3 months ago (2015-09-17 00:13:02 UTC) #9
scheib
https://codereview.chromium.org/1292263002/diff/140001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/1292263002/diff/140001/device/bluetooth/bluetooth_device.cc#newcode7 device/bluetooth/bluetooth_device.cc:7: #include <limits> On 2015/09/17 00:13:02, Jeffrey Yasskin wrote: > ...
5 years, 3 months ago (2015-09-17 18:18:10 UTC) #10
scheib
Also, looks like I need to fix ProximityAuthBluetoothLowEnergyConnectionTest.* -- working on that.
5 years, 3 months ago (2015-09-17 19:51:12 UTC) #11
scheib
Arman, OWNERS please.
5 years, 3 months ago (2015-09-18 20:57:25 UTC) #13
scheib
isherman: components/proximity_auth/ble/bluetooth_low_energy_connection_unittest.cc
5 years, 3 months ago (2015-09-19 21:13:51 UTC) #15
armansito
lgtm
5 years, 3 months ago (2015-09-19 21:26:51 UTC) #16
Ilya Sherman
LGTM
5 years, 3 months ago (2015-09-21 02:56:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292263002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292263002/180001
5 years, 3 months ago (2015-09-21 04:00:34 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:180001)
5 years, 3 months ago (2015-09-21 05:09:42 UTC) #21
commit-bot: I haz the power
5 years, 3 months ago (2015-09-21 05:10:26 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9556087a448034de335fc651008947bfa73c1cdd
Cr-Commit-Position: refs/heads/master@{#349900}

Powered by Google App Engine
This is Rietveld 408576698