#include "components/autofill/core/common/autofill_data_validation.h"
#include "base/ranges/algorithm.h"
#include "base/types/cxx23_to_underlying.h"
#include "components/autofill/core/common/autofill_constants.h"
#include "components/autofill/core/common/autofill_util.h"
#include "components/autofill/core/common/form_data.h"
#include "components/autofill/core/common/form_field_data.h"
#include "components/autofill/core/common/password_form_fill_data.h"
#include "url/gurl.h"
namespace autofill {
bool IsValidString(const std::string& str) { … }
bool IsValidString16(const std::u16string& str) { … }
bool IsValidGURL(const GURL& url) { … }
bool IsValidOption(const SelectOption& option) { … }
bool IsValidFormFieldData(const FormFieldData& field) { … }
bool IsValidFormData(const FormData& form) { … }
bool IsValidPasswordFormFillData(const PasswordFormFillData& form) { … }
bool IsValidOptionVector(const base::span<const SelectOption>& options) { … }
bool IsValidString16Vector(const base::span<const std::u16string>& strings) { … }
bool IsValidFormDataVector(const base::span<const FormData>& forms) { … }
}