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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service.h

Issue 2785383002: Update unit tests for BluetoothDevice::GetPrimaryServicesByUUID() etc. (Closed)
Patch Set: added TODO Created 3 years, 8 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_remote_gatt_service.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_service.h b/device/bluetooth/bluetooth_remote_gatt_service.h
index 722b22dddb4db926aedea1f7466829765a8387ea..41c6bb980079a83eed7d445de247e1fb3bc70630 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service.h
+++ b/device/bluetooth/bluetooth_remote_gatt_service.h
@@ -16,6 +16,7 @@ namespace device {
class BluetoothDevice;
class BluetoothRemoteGattCharacteristic;
+class BluetoothUUID;
// BluetoothRemoteGattService represents a remote GATT service.
//
@@ -50,6 +51,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattService
virtual BluetoothRemoteGattCharacteristic* GetCharacteristic(
const std::string& identifier) const = 0;
+ std::vector<BluetoothRemoteGattCharacteristic*> GetCharacteristicsByUUID(
+ const BluetoothUUID& characteristic_uuid);
+
protected:
BluetoothRemoteGattService();

Powered by Google App Engine
This is Rietveld 408576698