chromium/components/autofill/core/browser/ui/payments/card_unmask_otp_input_dialog_controller_impl.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/ui/payments/card_unmask_otp_input_dialog_controller_impl.h"

#include <string>

#include "components/autofill/core/browser/metrics/payments/card_unmask_authentication_metrics.h"
#include "components/autofill/core/browser/payments/otp_unmask_delegate.h"
#include "components/autofill/core/browser/payments/otp_unmask_result.h"
#include "components/autofill/core/browser/ui/payments/card_unmask_otp_input_dialog_view.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"

namespace autofill {

CardUnmaskOtpInputDialogControllerImpl::CardUnmaskOtpInputDialogControllerImpl(
    const CardUnmaskChallengeOption& challenge_option,
    base::WeakPtr<OtpUnmaskDelegate> delegate)
    :{}

CardUnmaskOtpInputDialogControllerImpl::
    ~CardUnmaskOtpInputDialogControllerImpl() {}

void CardUnmaskOtpInputDialogControllerImpl::ShowDialog(
    base::OnceCallback<base::WeakPtr<CardUnmaskOtpInputDialogView>()>
        create_and_show_view_callback) {}

void CardUnmaskOtpInputDialogControllerImpl::OnOtpVerificationResult(
    OtpUnmaskResult result) {}

void CardUnmaskOtpInputDialogControllerImpl::OnDialogClosed(
    bool user_closed_dialog,
    bool server_request_succeeded) {}

void CardUnmaskOtpInputDialogControllerImpl::OnOkButtonClicked(
    const std::u16string& otp) {}

void CardUnmaskOtpInputDialogControllerImpl::OnNewCodeLinkClicked() {}

std::u16string CardUnmaskOtpInputDialogControllerImpl::GetWindowTitle() const {}

std::u16string
CardUnmaskOtpInputDialogControllerImpl::GetTextfieldPlaceholderText() const {}

#if BUILDFLAG(IS_ANDROID)
int CardUnmaskOtpInputDialogControllerImpl::GetExpectedOtpLength() const {
  return otp_length_;
}
#endif  // BUILDFLAG(IS_ANDROID)

bool CardUnmaskOtpInputDialogControllerImpl::IsValidOtp(
    const std::u16string& otp) const {}

FooterText CardUnmaskOtpInputDialogControllerImpl::GetFooterText(
    const std::u16string& link_text) const {}

std::u16string CardUnmaskOtpInputDialogControllerImpl::GetNewCodeLinkText()
    const {}

std::u16string CardUnmaskOtpInputDialogControllerImpl::GetOkButtonLabel()
    const {}

std::u16string CardUnmaskOtpInputDialogControllerImpl::GetProgressLabel()
    const {}

std::u16string CardUnmaskOtpInputDialogControllerImpl::GetConfirmationMessage()
    const {}

base::WeakPtr<CardUnmaskOtpInputDialogController>
CardUnmaskOtpInputDialogControllerImpl::GetWeakPtr() {}

#if BUILDFLAG(IS_IOS)
base::WeakPtr<CardUnmaskOtpInputDialogControllerImpl>
CardUnmaskOtpInputDialogControllerImpl::GetImplWeakPtr() {
  return weak_ptr_factory_.GetWeakPtr();
}
#endif

void CardUnmaskOtpInputDialogControllerImpl::ShowInvalidState(
    OtpUnmaskResult otp_unmask_result) {}

}  // namespace autofill