| Index: device/bluetooth/test/bluetooth_test.h
|
| diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
|
| index c840935138d6df9751380d3e75eb71ebccdfe27c..17f4ed717ccf3bb1ccd069ae82caef73f3ba6db2 100644
|
| --- a/device/bluetooth/test/bluetooth_test.h
|
| +++ b/device/bluetooth/test/bluetooth_test.h
|
| @@ -146,6 +146,11 @@ class BluetoothTestBase : public testing::Test {
|
| virtual void SimulateGattCharacteristicSetNotifyWillFailSynchronouslyOnce(
|
| BluetoothGattCharacteristic* characteristic) {}
|
|
|
| + // Simulates a Characteristic Set Notify operation failing asynchronously once
|
| + // for an unknown reason.
|
| + virtual void SimulateGattCharacteristicSetNotifyWillFailAsynchronouslyOnce(
|
| + BluetoothGattCharacteristic* characteristic) {}
|
| +
|
| // Simulates a Characteristic Changed operation with updated |value|.
|
| virtual void SimulateGattCharacteristicChanged(
|
| BluetoothGattCharacteristic* characteristic,
|
| @@ -244,6 +249,10 @@ class BluetoothTestBase : public testing::Test {
|
| void ConnectErrorCallback(Call expected,
|
| enum BluetoothDevice::ConnectErrorCode);
|
| void GattErrorCallback(Call expected, BluetoothGattService::GattErrorCode);
|
| + void ReentrantStartNotifySessionErrorCallback(
|
| + Call expected,
|
| + BluetoothGattCharacteristic* characteristic,
|
| + BluetoothGattService::GattErrorCode error_code);
|
|
|
| // Accessors to get callbacks bound to this fixture:
|
| base::Closure GetCallback(Call expected);
|
| @@ -259,6 +268,10 @@ class BluetoothTestBase : public testing::Test {
|
| BluetoothDevice::ConnectErrorCallback GetConnectErrorCallback(Call expected);
|
| base::Callback<void(BluetoothGattService::GattErrorCode)>
|
| GetGattErrorCallback(Call expected);
|
| + base::Callback<void(BluetoothGattService::GattErrorCode)>
|
| + GetReentrantStartNotifySessionErrorCallback(
|
| + Call expected,
|
| + BluetoothGattCharacteristic* characteristic);
|
|
|
| // Reset all event count members to 0.
|
| void ResetEventCounts();
|
|
|