chromium/components/autofill/core/browser/validation.cc

// Copyright 2013 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/validation.h"

#include <stddef.h>

#include <ostream>

#include "base/check.h"
#include "base/containers/adapters.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "components/autofill/core/browser/geo/phone_number_i18n.h"
#include "components/autofill/core/browser/geo/state_names.h"
#include "components/autofill/core/common/autofill_regex_constants.h"
#include "components/autofill/core/common/autofill_regexes.h"
#include "components/autofill/core/common/credit_card_network_identifiers.h"
#include "components/strings/grit/components_strings.h"

namespace autofill {

bool IsValidCreditCardExpirationDate(int year, int month, base::Time now) {}

bool IsValidCreditCardExpirationYear(int year, base::Time now) {}

bool IsValidCreditCardSecurityCode(std::u16string_view code,
                                   std::string_view card_network,
                                   CvcType cvc_type) {}

bool IsValidEmailAddress(std::u16string_view text) {}

bool IsValidState(std::u16string_view text) {}

bool IsPossiblePhoneNumber(const std::u16string& text,
                           const std::string& country_code) {}

bool IsValidZip(std::u16string_view text) {}

bool IsSSN(std::u16string_view text) {}

size_t GetCvcLengthForCardNetwork(std::string_view card_network,
                                  CvcType cvc_type) {}

bool IsUPIVirtualPaymentAddress(std::u16string_view value) {}

bool IsInternationalBankAccountNumber(std::u16string_view value) {}

bool IsPlausibleCreditCardCVCNumber(std::u16string_view value) {}

bool IsPlausible4DigitExpirationYear(std::u16string_view value) {}
}  // namespace autofill