#include <utility>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "device/fido/fido_authenticator.h"
#include "device/fido/fido_constants.h"
#include "device/fido/pin.h"
#include "device/fido/reset_request_handler.h"
namespace device {
ResetRequestHandler::ResetRequestHandler(
const base::flat_set<FidoTransportProtocol>& supported_transports,
ResetSentCallback reset_sent_callback,
FinishedCallback finished_callback,
std::unique_ptr<FidoDiscoveryFactory> fido_discovery_factory)
: … { … }
ResetRequestHandler::~ResetRequestHandler() { … }
void ResetRequestHandler::DispatchRequest(FidoAuthenticator* authenticator) { … }
void ResetRequestHandler::OnTouch(FidoAuthenticator* authenticator) { … }
void ResetRequestHandler::OnResetComplete(
CtapDeviceResponseCode status,
std::optional<pin::EmptyResponse> response) { … }
}