Chromium Code Reviews| Index: device/bluetooth/bluetooth_gatt_characteristic.h |
| diff --git a/device/bluetooth/bluetooth_gatt_characteristic.h b/device/bluetooth/bluetooth_gatt_characteristic.h |
| index 489f59a56af8fb583df6dcdd2c1e4d5253f3327c..f10ec7cd29c66937365fa80d33b3cac075f9e63b 100644 |
| --- a/device/bluetooth/bluetooth_gatt_characteristic.h |
| +++ b/device/bluetooth/bluetooth_gatt_characteristic.h |
| @@ -158,8 +158,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristic { |
| virtual BluetoothGattDescriptor* GetDescriptor( |
| const std::string& identifier) const = 0; |
| - // Returns the GATT characteristic descriptor that matches |uuid|. |
| - virtual BluetoothGattDescriptor* GetDescriptorForUUID( |
| + // Returns the GATT characteristic descriptors that match |uuid|. There may be |
| + // multiple, as illustrated by Core Bluetooth Specification [V4.2 Vol 3 Part G |
| + // 3.3.3.5 Characteristic Presentation Format]. |
| + std::vector<BluetoothGattDescriptor*> GetDescriptorsForUUID( |
|
ortuno
2016/03/13 20:41:44
nit: Do you think GetDescriptorsByUUID or GetDescr
scheib
2016/03/25 00:13:57
Done: Renamed to GetDescriptorsByUUID.
|
| const BluetoothUUID& uuid); |
| // Adds a characteristic descriptor to the locally hosted characteristic |