#include "device/bluetooth/floss/fake_floss_lescan_client.h"
#include "base/logging.h"
#include "base/observer_list.h"
#include "base/task/single_thread_task_runner.h"
#include "device/bluetooth/floss/floss_dbus_client.h"
namespace floss {
FakeFlossLEScanClient::FakeFlossLEScanClient() = default;
FakeFlossLEScanClient::~FakeFlossLEScanClient() = default;
void FakeFlossLEScanClient::Init(dbus::Bus* bus,
const std::string& service_name,
const int adapter_index,
base::Version version,
base::OnceClosure on_ready) { … }
void FakeFlossLEScanClient::RegisterScanner(
ResponseCallback<device::BluetoothUUID> callback) { … }
void FakeFlossLEScanClient::UnregisterScanner(ResponseCallback<bool> callback,
uint8_t scanner_id) { … }
void FakeFlossLEScanClient::StartScan(
ResponseCallback<BtifStatus> callback,
uint8_t scanner_id,
const std::optional<ScanSettings>& scan_settings,
const std::optional<ScanFilter>& filters) { … }
}