chromium/components/autofill/core/browser/payments/credit_card_otp_authenticator.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/browser/payments/credit_card_otp_authenticator.h"

#include "base/check_deref.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/metrics/payments/card_unmask_authentication_metrics.h"
#include "components/autofill/core/browser/payments/autofill_error_dialog_context.h"
#include "components/autofill/core/browser/payments/autofill_payments_feature_availability.h"
#include "components/autofill/core/browser/payments/otp_unmask_result.h"
#include "components/autofill/core/browser/personal_data_manager.h"

namespace autofill {
namespace {

PaymentsRpcResult;

}  // namespace

CreditCardOtpAuthenticator::OtpAuthenticationResponse::
    OtpAuthenticationResponse() = default;
CreditCardOtpAuthenticator::OtpAuthenticationResponse::
    ~OtpAuthenticationResponse() = default;

CreditCardOtpAuthenticator::CreditCardOtpAuthenticator(AutofillClient* client)
    :{}

CreditCardOtpAuthenticator::~CreditCardOtpAuthenticator() = default;

void CreditCardOtpAuthenticator::OnUnmaskPromptAccepted(
    const std::u16string& otp) {}

void CreditCardOtpAuthenticator::OnUnmaskPromptClosed(bool user_closed_dialog) {}

void CreditCardOtpAuthenticator::OnNewOtpRequested() {}

void CreditCardOtpAuthenticator::OnChallengeOptionSelected(
    const CreditCard* card,
    const CardUnmaskChallengeOption& selected_challenge_option,
    base::WeakPtr<Requester> requester,
    const std::string& context_token,
    int64_t billing_customer_number) {}

void CreditCardOtpAuthenticator::SendSelectChallengeOptionRequest() {}

void CreditCardOtpAuthenticator::OnDidSelectChallengeOption(
    PaymentsRpcResult result,
    const std::string& context_token) {}

void CreditCardOtpAuthenticator::ShowOtpDialog() {}

void CreditCardOtpAuthenticator::OnDidGetUnmaskRiskData(
    const std::string& risk_data) {}

void CreditCardOtpAuthenticator::SendUnmaskCardRequest() {}

void CreditCardOtpAuthenticator::OnDidGetRealPan(
    PaymentsRpcResult result,
    const payments::PaymentsNetworkInterface::UnmaskResponseDetails&
        response_details) {}

void CreditCardOtpAuthenticator::Reset() {}

}  // namespace autofill