#include "device/bluetooth/bluez/bluetooth_low_energy_scan_session_bluez.h"
#include <optional>
#include "base/debug/dump_without_crashing.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "device/bluetooth/bluez/bluetooth_adapter_bluez.h"
#include "device/bluetooth/bluez/bluetooth_device_bluez.h"
#include "device/bluetooth/dbus/bluetooth_device_client.h"
#include "device/bluetooth/dbus/bluez_dbus_manager.h"
#include "device/bluetooth/public/cpp/bluetooth_address.h"
namespace bluez {
BluetoothLowEnergyScanSessionBlueZ::BluetoothLowEnergyScanSessionBlueZ(
const std::string& session_id,
base::WeakPtr<BluetoothAdapterBlueZ> adapter,
base::WeakPtr<device::BluetoothLowEnergyScanSession::Delegate> delegate,
base::OnceCallback<void(const std::string&)> destructor_callback)
: … { … }
BluetoothLowEnergyScanSessionBlueZ::~BluetoothLowEnergyScanSessionBlueZ() { … }
void BluetoothLowEnergyScanSessionBlueZ::OnActivate() { … }
void BluetoothLowEnergyScanSessionBlueZ::OnRelease() { … }
void BluetoothLowEnergyScanSessionBlueZ::OnDeviceFound(
const dbus::ObjectPath& device_path) { … }
void BluetoothLowEnergyScanSessionBlueZ::OnDeviceLost(
const dbus::ObjectPath& device_path) { … }
base::WeakPtr<BluetoothLowEnergyScanSessionBlueZ>
BluetoothLowEnergyScanSessionBlueZ::GetWeakPtr() { … }
}