| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
|
| index 7f71ff632c2084c66b6902354156d051b838828f..4c8cfd7a5832fb86bdb9a1d7754c95599c605708 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
|
| @@ -65,6 +65,18 @@ bool BluetoothDevice::isValidCharacteristic(
|
| characteristicInstanceId);
|
| }
|
|
|
| +BluetoothRemoteGATTDescriptor*
|
| +BluetoothDevice::getOrCreateBluetoothRemoteGATTDescriptor(
|
| + std::unique_ptr<WebBluetoothRemoteGATTDescriptorInit> webDescriptor,
|
| + BluetoothRemoteGATTCharacteristic* characteristic) {
|
| + return m_attributeInstanceMap->getOrCreateBluetoothRemoteGATTDescriptor(
|
| + std::move(webDescriptor), characteristic);
|
| +}
|
| +
|
| +bool BluetoothDevice::isValidDescriptor(const String& descriptorInstanceId) {
|
| + return m_attributeInstanceMap->containsDescriptor(descriptorInstanceId);
|
| +}
|
| +
|
| void BluetoothDevice::dispose() {
|
| disconnectGATTIfConnected();
|
| }
|
|
|