chromium/components/autofill/core/common/credit_card_number_validation.cc

// Copyright 2024 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/common/credit_card_number_validation.h"

#include <stddef.h>

#include <string>
#include <string_view>

#include "base/containers/adapters.h"
#include "base/feature_list.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/autofill/core/common/autofill_regexes.h"
#include "components/autofill/core/common/credit_card_network_identifiers.h"

namespace autofill {

bool IsValidCreditCardNumber(std::u16string_view text) {}

bool HasCorrectCreditCardNumberLength(std::u16string_view number) {}

bool PassesLuhnCheck(std::u16string_view number) {}

std::u16string StripCardNumberSeparators(std::u16string_view number) {}

const char* GetCardNetwork(std::u16string_view number) {}

}  // namespace autofill