#include "chrome/browser/ui/autofill/payments/autofill_dialog_models.h"
#include <string>
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "chrome/grit/generated_resources.h"
#include "components/autofill/core/common/autofill_clock.h"
#include "ui/base/l10n/l10n_util.h"
namespace autofill {
namespace {
const int kNumberOfExpirationYears = …;
std::vector<ui::SimpleComboboxModel::Item> GetExpirationYearItems(
int additional_year) { … }
std::u16string FormatMonth(int month) { … }
}
MonthComboboxModel::MonthComboboxModel() { … }
MonthComboboxModel::~MonthComboboxModel() { … }
size_t MonthComboboxModel::GetItemCount() const { … }
std::u16string MonthComboboxModel::GetItemAt(size_t index) const { … }
void MonthComboboxModel::SetDefaultIndexByMonth(int month) { … }
std::optional<size_t> MonthComboboxModel::GetDefaultIndex() const { … }
YearComboboxModel::YearComboboxModel(int additional_year)
: … { … }
YearComboboxModel::~YearComboboxModel() { … }
void YearComboboxModel::SetDefaultIndexByYear(int year) { … }
std::optional<size_t> YearComboboxModel::GetDefaultIndex() const { … }
}