#include "content/browser/webauth/virtual_fido_discovery_factory.h"
#include <memory>
#include <utility>
#include <vector>
#include "build/build_config.h"
#include "content/browser/webauth/virtual_authenticator.h"
#include "content/browser/webauth/virtual_discovery.h"
#include "device/fido/fido_discovery_base.h"
namespace content {
VirtualFidoDiscoveryFactory::VirtualFidoDiscoveryFactory(
base::WeakPtr<VirtualAuthenticatorManagerImpl> authenticator_manager)
: … { … }
VirtualFidoDiscoveryFactory::~VirtualFidoDiscoveryFactory() { … }
std::vector<std::unique_ptr<::device::FidoDiscoveryBase>>
VirtualFidoDiscoveryFactory::Create(device::FidoTransportProtocol transport) { … }
void VirtualFidoDiscoveryFactory::AuthenticatorAdded(
VirtualAuthenticator* authenticator) { … }
void VirtualFidoDiscoveryFactory::AuthenticatorRemoved(
const std::string& authenticator_id) { … }
bool VirtualFidoDiscoveryFactory::IsTestOverride() { … }
#if BUILDFLAG(IS_WIN)
std::unique_ptr<device::FidoDiscoveryBase>
VirtualFidoDiscoveryFactory::MaybeCreateWinWebAuthnApiDiscovery() {
return nullptr;
}
#endif
}