| Index: device/bluetooth/bluetooth_device_android.h
|
| diff --git a/device/bluetooth/bluetooth_device_android.h b/device/bluetooth/bluetooth_device_android.h
|
| index 1e608f1df9f42cc6821bfc96e7edb5b0e1b04625..e9e4a6bb7d8864b869d87a3e10f748a84329378b 100644
|
| --- a/device/bluetooth/bluetooth_device_android.h
|
| +++ b/device/bluetooth/bluetooth_device_android.h
|
| @@ -50,6 +50,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceAndroid final
|
| uint16 GetDeviceID() const override;
|
| bool IsPaired() const override;
|
| bool IsConnected() const override;
|
| + bool IsGattConnected() const override;
|
| bool IsConnectable() const override;
|
| bool IsConnecting() const override;
|
| UUIDList GetUUIDs() const override;
|
| @@ -78,19 +79,20 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceAndroid final
|
| const device::BluetoothUUID& uuid,
|
| const ConnectToServiceCallback& callback,
|
| const ConnectToServiceErrorCallback& error_callback) override;
|
| - void CreateGattConnection(
|
| - const GattConnectionCallback& callback,
|
| - const ConnectErrorCallback& error_callback) override;
|
|
|
| protected:
|
| BluetoothDeviceAndroid(BluetoothAdapterAndroid* adapter);
|
|
|
| // BluetoothDevice:
|
| std::string GetDeviceName() const override;
|
| + void CreateGattConnectionImpl() override;
|
| + void DisconnectGatt() override;
|
|
|
| // Java object org.chromium.device.bluetooth.ChromeBluetoothDevice.
|
| base::android::ScopedJavaGlobalRef<jobject> j_device_;
|
|
|
| + bool gatt_connected_ = false;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceAndroid);
|
| };
|
|
|
|
|