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 f525323b114f95d62b4c6256b78d82833b6d564d..910825cd4af062f33a3b8a9631f4c324b151079c 100644 |
--- a/device/bluetooth/test/bluetooth_test_android.h |
+++ b/device/bluetooth/test/bluetooth_test_android.h |
@@ -27,13 +27,13 @@ class BluetoothTestAndroid : public BluetoothTestBase { |
void InitWithoutDefaultAdapter() override; |
void InitWithFakeAdapter() override; |
BluetoothDevice* DiscoverLowEnergyDevice(int device_ordinal) override; |
- void CompleteGattConnection(BluetoothDevice* device) override; |
- void FailGattConnection(BluetoothDevice* device, |
- BluetoothDevice::ConnectErrorCode) override; |
- void CompleteGattDisconnection(BluetoothDevice* device) override; |
+ void SimulateGattConnection(BluetoothDevice* device) override; |
+ void SimulateGattConnectionError(BluetoothDevice* device, |
+ BluetoothDevice::ConnectErrorCode) override; |
+ void SimulateGattDisconnection(BluetoothDevice* device) override; |
// Records that Java FakeBluetoothDevice connectGatt was called. |
- void OnBluetoothDeviceConnectGattCalled(JNIEnv* env, jobject caller); |
+ void OnFakeBluetoothDeviceConnectGattCalled(JNIEnv* env, jobject caller); |
// Records that Java FakeBluetoothGatt disconnect was called. |
void OnFakeBluetoothGattDisconnect(JNIEnv* env, jobject caller); |