Index: device/bluetooth/bluetooth_low_energy_device_mac.mm |
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.mm b/device/bluetooth/bluetooth_low_energy_device_mac.mm |
index 1d2267c2788bd4c8b172281e1fe75c822031754c..a153cb1c180f4cd3691e628f9f6c7995fe45f503 100644 |
--- a/device/bluetooth/bluetooth_low_energy_device_mac.mm |
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm |
@@ -321,6 +321,15 @@ void BluetoothLowEnergyDeviceMac::DidUpdateValue( |
gatt_service->DidUpdateValue(characteristic, error); |
} |
+void BluetoothLowEnergyDeviceMac::DidWriteValue( |
+ CBCharacteristic* characteristic, |
+ NSError* error) { |
+ BluetoothRemoteGattServiceMac* gatt_service = |
+ GetBluetoothRemoteGattService(characteristic.service); |
+ DCHECK(gatt_service); |
+ gatt_service->DidWriteValue(characteristic, error); |
+} |
+ |
// static |
std::string BluetoothLowEnergyDeviceMac::GetPeripheralIdentifier( |
CBPeripheral* peripheral) { |