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

// Copyright 2023 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/mandatory_reauth_manager.h"

#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/metrics/payments/mandatory_reauth_metrics.h"
#include "components/autofill/core/browser/payments/payments_autofill_client.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/strings/grit/components_branded_strings.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"

namespace autofill::payments {

LogMandatoryReauthOfferOptInDecision;
MandatoryReauthOfferOptInDecision;

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

MandatoryReauthManager::~MandatoryReauthManager() = default;

// static
NonInteractivePaymentMethodType
MandatoryReauthManager::GetNonInteractivePaymentMethodType(
    absl::variant<CreditCard::RecordType, Iban::RecordType> record_type) {}

void MandatoryReauthManager::Authenticate(
    device_reauth::DeviceAuthenticator::AuthenticateCallback callback) {}

void MandatoryReauthManager::AuthenticateWithMessage(
    const std::u16string& message,
    device_reauth::DeviceAuthenticator::AuthenticateCallback callback) {}

void MandatoryReauthManager::StartDeviceAuthentication(
    NonInteractivePaymentMethodType non_interactive_payment_method_type,
    base::OnceCallback<void(bool)> authentication_complete_callback) {}

void MandatoryReauthManager::OnAuthenticationCompleted(
    device_reauth::DeviceAuthenticator::AuthenticateCallback callback,
    bool success) {}

bool MandatoryReauthManager::ShouldOfferOptin(
    std::optional<NonInteractivePaymentMethodType>
        payment_method_type_if_non_interactive_authentication_flow_completed) {}

void MandatoryReauthManager::StartOptInFlow() {}

void MandatoryReauthManager::OnUserAcceptedOptInPrompt() {}

void MandatoryReauthManager::OnOptInAuthenticationStepCompleted(bool success) {}

void MandatoryReauthManager::OnUserCancelledOptInPrompt() {}

void MandatoryReauthManager::OnUserClosedOptInPrompt() {}

MandatoryReauthAuthenticationMethod
MandatoryReauthManager::GetAuthenticationMethod() {}

}  // namespace autofill::payments