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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 2904363002: bluetooth: macOS: Removing intermediate methods in BluetoothRemoteServiceMac (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_low_energy_device_mac.h
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h
index cabab11c47fc57b4c05847755296467823150c5c..b6b6e59fe69dfd7f7e3051edc2bbd4ab408eb499 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -28,6 +28,7 @@ namespace device {
class BluetoothAdapterMac;
class BluetoothRemoteGattServiceMac;
+class BluetoothRemoteGattCharacteristicMac;
class BluetoothRemoteGattDescriptorMac;
class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
@@ -132,6 +133,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
BluetoothRemoteGattServiceMac* GetBluetoothRemoteGattServiceMac(
CBService* service) const;
+ // Returns BluetoothRemoteGattCharacteristicMac based on the CBCharacteristic.
+ BluetoothRemoteGattCharacteristicMac* GetBluetoothRemoteGattCharacteristicMac(
+ CBCharacteristic* cb_characteristic) const;
+
// Returns BluetoothRemoteGattDescriptorMac based on the CBDescriptor.
BluetoothRemoteGattDescriptorMac* GetBluetoothRemoteGattDescriptorMac(
CBDescriptor* cb_descriptor) const;
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698