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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)
Patch Set: Implement WebBluetooth getDescriptor[s] Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index 135aad616ae2e62398433d46ddcb2731be62673e..26cf85ca2b7dfb6d54136353e4742beb276aee67 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -32,6 +32,7 @@ namespace device {
class BluetoothAdapter;
class BluetoothGattConnection;
class BluetoothRemoteGattCharacteristic;
+class BluetoothRemoteGattDescriptor;
class BluetoothSocket;
class BluetoothUUID;
@@ -565,6 +566,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
const std::string& service_instance_id,
const BluetoothUUID& characteristic_uuid);
+ std::vector<device::BluetoothRemoteGattDescriptor*> GetDescriptorsByUUID(
+ device::BluetoothRemoteGattCharacteristic* characteristic,
+ const BluetoothUUID& descriptor_uuid);
+
protected:
// BluetoothGattConnection is a friend to call Add/RemoveGattConnection.
friend BluetoothGattConnection;

Powered by Google App Engine
This is Rietveld 408576698