Index: device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
diff --git a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
index 487b5134949baa18856c2dfb6cbc8a0e99b2d68d..3f9ab52ae7760fc6ee31b605af12a3c7c1d31a55 100644 |
--- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
+++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
@@ -170,4 +170,9 @@ using base::scoped_nsobject; |
return ObjCCast<CBPeripheral>(self); |
} |
+- (void)setNotifyValue:(BOOL)notification |
+ forCharacteristic:(CBCharacteristic*)characteristic { |
+ _bluetoothTestMac->OnFakeBluetoothGattSetCharacteristicNotification(); |
+} |
+ |
@end |