#include "components/autofill/core/browser/payments/credit_card_risk_based_authenticator.h"
#include "base/check_deref.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/metrics/payments/card_unmask_authentication_metrics.h"
#include "components/autofill/core/browser/payments/autofill_payments_feature_availability.h"
#include "components/autofill/core/browser/payments/payments_util.h"
#include "components/autofill/core/browser/personal_data_manager.h"
namespace autofill {
namespace {
PaymentsRpcResult;
}
CreditCardRiskBasedAuthenticator::RiskBasedAuthenticationResponse::
RiskBasedAuthenticationResponse() = default;
CreditCardRiskBasedAuthenticator::RiskBasedAuthenticationResponse&
CreditCardRiskBasedAuthenticator::RiskBasedAuthenticationResponse::operator=(
const CreditCardRiskBasedAuthenticator::RiskBasedAuthenticationResponse&
other) { … }
CreditCardRiskBasedAuthenticator::RiskBasedAuthenticationResponse::
~RiskBasedAuthenticationResponse() = default;
CreditCardRiskBasedAuthenticator::CreditCardRiskBasedAuthenticator(
AutofillClient* client)
: … { … }
CreditCardRiskBasedAuthenticator::~CreditCardRiskBasedAuthenticator() = default;
void CreditCardRiskBasedAuthenticator::Authenticate(
CreditCard card,
base::WeakPtr<Requester> requester) { … }
void CreditCardRiskBasedAuthenticator::OnDidGetUnmaskRiskData(
const std::string& risk_data) { … }
void CreditCardRiskBasedAuthenticator::OnUnmaskResponseReceived(
PaymentsRpcResult result,
const payments::PaymentsNetworkInterface::UnmaskResponseDetails&
response_details) { … }
void CreditCardRiskBasedAuthenticator::OnUnmaskCancelled() { … }
void CreditCardRiskBasedAuthenticator::Reset() { … }
}