#include "chrome/browser/webauthn/change_pin_controller_impl.h"
#include <memory>
#include <string>
#include <utility>
#include "base/check.h"
#include "base/check_op.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/webauthn/authenticator_request_dialog_model.h"
#include "chrome/browser/webauthn/chrome_authenticator_request_delegate.h"
#include "chrome/browser/webauthn/enclave_manager.h"
#include "chrome/browser/webauthn/enclave_manager_factory.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_user_data.h"
#include "device/fido/features.h"
Step;
ChangePinControllerImpl::ChangePinControllerImpl(
content::RenderFrameHost* render_frame_host)
: … { … }
ChangePinControllerImpl::~ChangePinControllerImpl() { … }
void ChangePinControllerImpl::IsChangePinFlowAvailable(
PinAvailableCallback callback) { … }
void ChangePinControllerImpl::StartChangePin(SuccessCallback callback) { … }
void ChangePinControllerImpl::CancelAuthenticatorRequest() { … }
void ChangePinControllerImpl::OnReauthComplete(std::string rapt) { … }
void ChangePinControllerImpl::OnRecoverSecurityDomainClosed() { … }
void ChangePinControllerImpl::OnGPMPinEntered(const std::u16string& pin) { … }
void ChangePinControllerImpl::OnGPMPinOptionChanged(bool is_arbitrary) { … }
void ChangePinControllerImpl::RecordHistogram(ChangePinEvent event) { … }
void ChangePinControllerImpl::Reset(bool success) { … }
void ChangePinControllerImpl::OnGpmPinChanged(bool success) { … }
void ChangePinControllerImpl::NotifyPinAvailability(
PinAvailableCallback callback) { … }
DOCUMENT_USER_DATA_KEY_IMPL(ChangePinControllerImpl);