Index: device/bluetooth/test/bluetooth_test_android.h |
diff --git a/device/bluetooth/test/bluetooth_test_android.h b/device/bluetooth/test/bluetooth_test_android.h |
index 8fbf61ccd6298a66e2539ce3dd97a17b4fcd56d3..ddf39bf07e49713bb392969b7a2b828cab66ff96 100644 |
--- a/device/bluetooth/test/bluetooth_test_android.h |
+++ b/device/bluetooth/test/bluetooth_test_android.h |
@@ -44,8 +44,13 @@ class BluetoothTestAndroid : public BluetoothTestBase { |
int properties) override; |
void RememberCharacteristicForSubsequentAction( |
BluetoothGattCharacteristic* characteristic) override; |
+ void RememberCCCDescriptorForSubsequentAction( |
+ BluetoothGattCharacteristic* characteristic) override; |
void SimulateGattNotifySessionStarted( |
BluetoothGattCharacteristic* characteristic) override; |
+ void SimulateGattNotifySessionStartError( |
+ BluetoothGattCharacteristic* characteristic, |
+ BluetoothGattService::GattErrorCode error_code) override; |
void SimulateGattCharacteristicSetNotifyWillFailSynchronouslyOnce( |
BluetoothGattCharacteristic* characteristic) override; |
void SimulateGattCharacteristicChanged( |
@@ -151,6 +156,7 @@ class BluetoothTestAndroid : public BluetoothTestBase { |
base::android::ScopedJavaGlobalRef<jobject> j_fake_bluetooth_adapter_; |
int gatt_open_connections_ = 0; |
+ BluetoothGattDescriptor* remembered_ccc_descriptor_ = nullptr; |
}; |
// Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). |