chromium/components/autofill/core/browser/data_model/autofill_i18n_hierarchies.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file was generated by go/autofill-i18n-model-git. Do not
// manually edit.

#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_I18N_HIERARCHIES_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_I18N_HIERARCHIES_H_

#include <string_view>

#include "base/containers/fixed_flat_map.h"
#include "base/containers/fixed_flat_set.h"
#include "base/containers/span.h"
#include "components/autofill/core/browser/field_types.h"

namespace autofill::i18n_model_definition {
// Field types for country AU.
inline constexpr FieldType kFieldTypeChildren_AU_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_AU_ADDRESS_HOME_APT[] =;
inline constexpr FieldType kFieldTypeChildren_AU_ADDRESS_HOME_SUBPREMISE[] =;
inline constexpr FieldType kFieldTypeChildren_AU_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_AU_ADDRESS_HOME_ADDRESS[] =;
// Field types for country BR.
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_APT[] =;
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_SUBPREMISE[] =;
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_OVERFLOW[] =;
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_OVERFLOW_AND_LANDMARK[] =;
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_BR_ADDRESS_HOME_ADDRESS[] =;
// Field types for country CA.
inline constexpr FieldType kFieldTypeChildren_CA_ADDRESS_HOME_ADDRESS[] =;
// Field types for country DE.
inline constexpr FieldType kFieldTypeChildren_DE_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_DE_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_DE_ADDRESS_HOME_ADDRESS[] =;
// Field types for country FR.
inline constexpr FieldType kFieldTypeChildren_FR_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_FR_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_FR_ADDRESS_HOME_ADDRESS[] =;
// Field types for country IN.
inline constexpr FieldType kFieldTypeChildren_IN_ADDRESS_HOME_STREET_LOCATION_AND_LOCALITY[] =;
inline constexpr FieldType kFieldTypeChildren_IN_ADDRESS_HOME_DEPENDENT_LOCALITY_AND_LANDMARK[] =;
inline constexpr FieldType kFieldTypeChildren_IN_ADDRESS_HOME_STREET_LOCATION_AND_LANDMARK[] =;
inline constexpr FieldType kFieldTypeChildren_IN_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_IN_ADDRESS_HOME_ADDRESS[] =;
// Field types for country IT.
inline constexpr FieldType kFieldTypeChildren_IT_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_IT_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_IT_ADDRESS_HOME_ADDRESS[] =;
// Field types for country MX.
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_APT[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_SUBPREMISE[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_BETWEEN_STREETS[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_BETWEEN_STREETS_OR_LANDMARK[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_OVERFLOW[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_MX_ADDRESS_HOME_ADDRESS[] =;
// Field types for country PL.
inline constexpr FieldType kFieldTypeChildren_PL_ADDRESS_HOME_APT[] =;
inline constexpr FieldType kFieldTypeChildren_PL_ADDRESS_HOME_HOUSE_NUMBER_AND_APT[] =;
inline constexpr FieldType kFieldTypeChildren_PL_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_PL_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_PL_ADDRESS_HOME_ADDRESS[] =;
// Field types for country US.
inline constexpr FieldType kFieldTypeChildren_US_ADDRESS_HOME_ADDRESS[] =;
// Field types for country XX.
inline constexpr FieldType kFieldTypeChildren_XX_ADDRESS_HOME_STREET_LOCATION[] =;
inline constexpr FieldType kFieldTypeChildren_XX_ADDRESS_HOME_SUBPREMISE[] =;
inline constexpr FieldType kFieldTypeChildren_XX_ADDRESS_HOME_STREET_ADDRESS[] =;
inline constexpr FieldType kFieldTypeChildren_XX_ADDRESS_HOME_ADDRESS[] =;

// Contains the properties of a node in the tree. Currently these are the node's
// type and the list of children.
struct FieldTypeDescription {};

// Collection of arrays of node properties for each country.
// Node properties for country AU.
inline constexpr FieldTypeDescription kModel_AU[] =;
// Node properties for country BR.
inline constexpr FieldTypeDescription kModel_BR[] =;
// Node properties for country CA.
inline constexpr FieldTypeDescription kModel_CA[] =;
// Node properties for country DE.
inline constexpr FieldTypeDescription kModel_DE[] =;
// Node properties for country FR.
inline constexpr FieldTypeDescription kModel_FR[] =;
// Node properties for country IN.
inline constexpr FieldTypeDescription kModel_IN[] =;
// Node properties for country IT.
inline constexpr FieldTypeDescription kModel_IT[] =;
// Node properties for country MX.
inline constexpr FieldTypeDescription kModel_MX[] =;
// Node properties for country PL.
inline constexpr FieldTypeDescription kModel_PL[] =;
// Node properties for country US.
inline constexpr FieldTypeDescription kModel_US[] =;
// Node properties for country XX.
inline constexpr FieldTypeDescription kModel_XX[] =;


// The lookup map for the autofill hierarchy connections per country. The value
// type is a span of FieldTypeDescription, representing the connections required to
// construct the hierarchy model.
inline constexpr auto kAutofillModelRules =;

// Set of pairs (country_code, field_type) that represent a collection of
// synthesized nodes for all countries.
inline constexpr auto kAutofillSynthesizeNodes =;

}  // namespace autofill::i18n_model_definition

#endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_I18N_HIERARCHIES_H_