#include "device/bluetooth/floss/bluetooth_low_energy_scan_session_floss.h"
#include "base/memory/weak_ptr.h"
#include "device/bluetooth/bluetooth_low_energy_scan_session.h"
#include "device/bluetooth/floss/bluetooth_device_floss.h"
namespace floss {
BluetoothLowEnergyScanSessionFloss::BluetoothLowEnergyScanSessionFloss(
std::unique_ptr<device::BluetoothLowEnergyScanFilter> filter,
base::WeakPtr<device::BluetoothLowEnergyScanSession::Delegate> delegate,
base::OnceCallback<void(const std::string&)> destructor_callback)
: … { … }
BluetoothLowEnergyScanSessionFloss::~BluetoothLowEnergyScanSessionFloss() { … }
void BluetoothLowEnergyScanSessionFloss::OnActivate(uint8_t scanner_id,
bool success) { … }
void BluetoothLowEnergyScanSessionFloss::OnRelease() { … }
void BluetoothLowEnergyScanSessionFloss::OnDeviceFound(
device::BluetoothDevice* device) { … }
void BluetoothLowEnergyScanSessionFloss::OnDeviceLost(
device::BluetoothDevice* device) { … }
void BluetoothLowEnergyScanSessionFloss::OnRegistered(
device::BluetoothUUID uuid) { … }
std::optional<ScanFilter>
BluetoothLowEnergyScanSessionFloss::GetFlossScanFilter() { … }
}