#include "device/bluetooth/floss/bluetooth_gatt_connection_floss.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/floss/floss_dbus_manager.h"
namespace floss {
BluetoothGattConnectionFloss::BluetoothGattConnectionFloss(
scoped_refptr<device::BluetoothAdapter> adapter,
const FlossDeviceId& device_id)
: … { … }
BluetoothGattConnectionFloss::~BluetoothGattConnectionFloss() { … }
bool BluetoothGattConnectionFloss::IsConnected() { … }
void BluetoothGattConnectionFloss::Disconnect() { … }
void BluetoothGattConnectionFloss::AdapterDeviceDisconnected(
const FlossDeviceId& device) { … }
void BluetoothGattConnectionFloss::GattClientConnectionState(
GattStatus status,
int32_t client_id,
bool connected,
std::string address) { … }
}