| Index: device/bluetooth/test/bluetooth_test.h
|
| diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
|
| index c0b5092e1c7fef9c0b1568e7d8f5112e983309ad..8f0bd31a2dd03aa385d00c0bee7a604010a833b7 100644
|
| --- a/device/bluetooth/test/bluetooth_test.h
|
| +++ b/device/bluetooth/test/bluetooth_test.h
|
| @@ -176,6 +176,11 @@ class BluetoothTestBase : public testing::Test {
|
| BluetoothGattCharacteristic* characteristic,
|
| const std::string& uuid) {}
|
|
|
| + // Simulates a Descriptor Write operation failing synchronously once for
|
| + // an unknown reason.
|
| + virtual void SimulateGattDescriptorWriteWillFailSynchronouslyOnce(
|
| + BluetoothGattDescriptor* descriptor) {}
|
| +
|
| // Removes the device from the adapter and deletes it.
|
| virtual void DeleteDevice(BluetoothDevice* device);
|
|
|
| @@ -232,6 +237,7 @@ class BluetoothTestBase : public testing::Test {
|
| int gatt_notify_characteristic_attempts_ = 0;
|
| int gatt_read_characteristic_attempts_ = 0;
|
| int gatt_write_characteristic_attempts_ = 0;
|
| + int gatt_write_descriptor_attempts_ = 0;
|
|
|
| // The following values are used to make sure the correct callbacks
|
| // have been called. They are not reset when calling ResetEventCounts().
|
|
|