#include "device/fido/virtual_fido_device_discovery.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/task/sequenced_task_runner.h"
#include "device/fido/fido_transport_protocol.h"
#include "device/fido/virtual_fido_device_authenticator.h"
#include "device/fido/virtual_u2f_device.h"
namespace device::test {
VirtualFidoDeviceDiscovery::Trace::Trace() = default;
VirtualFidoDeviceDiscovery::Trace::~Trace() = default;
VirtualFidoDeviceDiscovery::VirtualFidoDeviceDiscovery(
scoped_refptr<Trace> trace,
size_t trace_index,
FidoTransportProtocol transport,
scoped_refptr<VirtualFidoDevice::State> state,
ProtocolVersion supported_protocol,
const VirtualCtap2Device::Config& ctap2_config,
std::unique_ptr<FidoDeviceDiscovery::EventStream<bool>> disconnect_events,
std::unique_ptr<
FidoDeviceDiscovery::EventStream<std::unique_ptr<cablev2::Pairing>>>
contact_device_stream)
: … { … }
VirtualFidoDeviceDiscovery::~VirtualFidoDeviceDiscovery() { … }
void VirtualFidoDeviceDiscovery::StartInternal() { … }
void VirtualFidoDeviceDiscovery::AddVirtualDeviceAsync(
std::unique_ptr<cablev2::Pairing> _) { … }
void VirtualFidoDeviceDiscovery::AddVirtualDevice() { … }
void VirtualFidoDeviceDiscovery::Disconnect(bool _) { … }
void VirtualFidoDeviceDiscovery::Stop() { … }
}