Descriptionbluetooth: Remove callback from BluetoothGattConnection::Disconnect
In the process of implementing implement
BluetoothDevice::CreateGattConnection for Android and Mac platforms
we found a pattern mis match, where previously callbacks upon
actions such as disconnect were planned. However, Android and
CoreBluetooth APIs only send events with no contract for a 1:1
pairing with calls such as disconnecting.
Simplify our API by removing the BluetoothGattConnection::Disconnect
callback, as we don't need it.
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=520304
Committed: https://crrev.com/c89c898b165345923e5f36fd4dde886891d80211
Cr-Commit-Position: refs/heads/master@{#349233}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Merge TOT #Patch Set 3 : address jyasskin; revert to previous callback count style #Patch Set 4 : Merge TOT #Dependent Patchsets: Messages
Total messages: 17 (7 generated)
|