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 63e8f9fa82533d96b387221b235fbab5d6985e40..f28b745a01fb6ac0122fa37e1eacbdcde0bb7ad8 100644 |
--- a/device/bluetooth/test/bluetooth_test_android.h |
+++ b/device/bluetooth/test/bluetooth_test_android.h |
@@ -27,6 +27,16 @@ class BluetoothTestAndroid : public BluetoothTestBase { |
void InitWithoutDefaultAdapter() override; |
void InitWithFakeAdapter() override; |
void DiscoverLowEnergyDevice(int device_ordinal) override; |
+ void CompleteGattConnection(BluetoothDevice* device) override; |
+ void FailGattConnection(BluetoothDevice* device, |
+ BluetoothDevice::ConnectErrorCode) override; |
+ void CompleteGattDisconnection(BluetoothDevice* device) override; |
+ |
+ // Records that Java FakeBluetoothDevice connectGatt was called. |
+ void OnBluetoothDeviceConnectGattCalled(JNIEnv* env, jobject caller); |
+ |
+ // Records that Java FakeBluetoothGatt disconnect was called. |
+ void OnFakeBluetoothGattDisconnect(JNIEnv* env, jobject caller); |
base::android::ScopedJavaGlobalRef<jobject> j_fake_bluetooth_adapter_; |
}; |