| Index: device/bluetooth/test/bluetooth_test_win.cc
|
| diff --git a/device/bluetooth/test/bluetooth_test_win.cc b/device/bluetooth/test/bluetooth_test_win.cc
|
| index 7596bb3be6012db2c4bfa89fe52196571c22d6a2..9295fcb67c30ec0da9f09c18fe38c75de91fe377 100644
|
| --- a/device/bluetooth/test/bluetooth_test_win.cc
|
| +++ b/device/bluetooth/test/bluetooth_test_win.cc
|
| @@ -369,6 +369,16 @@ void BluetoothTestWin::SimulateGattNotifySessionStarted(
|
| FinishPendingTasks();
|
| }
|
|
|
| +void BluetoothTestWin::
|
| + SimulateGattCharacteristicSetNotifyWillFailAsynchronouslyOnce(
|
| + BluetoothGattCharacteristic* characteristic) {
|
| + win::GattCharacteristic* simulated_characteristic =
|
| + GetSimulatedCharacteristic(characteristic);
|
| + CHECK(simulated_characteristic);
|
| + fake_bt_le_wrapper_->SimulateGattCharacteristicSetNotifyError(
|
| + simulated_characteristic, E_BLUETOOTH_ATT_UNKNOWN_ERROR);
|
| +}
|
| +
|
| void BluetoothTestWin::SimulateGattCharacteristicChanged(
|
| BluetoothGattCharacteristic* characteristic,
|
| const std::vector<uint8_t>& value) {
|
|
|