#include "device/fido/bio/enroller.h"
#include <utility>
#include "base/functional/bind.h"
#include "device/fido/fido_authenticator.h"
namespace device {
BioEnroller::BioEnroller(Delegate* delegate,
FidoAuthenticator* authenticator,
pin::TokenResponse token)
: … { … }
BioEnroller::~BioEnroller() = default;
void BioEnroller::Cancel() { … }
void BioEnroller::FinishWithError(CtapDeviceResponseCode status) { … }
void BioEnroller::FinishSuccessfully(
std::optional<std::vector<uint8_t>> template_id) { … }
void BioEnroller::OnEnrollResponse(
CtapDeviceResponseCode status,
std::optional<BioEnrollmentResponse> response) { … }
void BioEnroller::OnEnrollCancelled(
CtapDeviceResponseCode status,
std::optional<BioEnrollmentResponse> response) { … }
}