#include "components/autofill/core/browser/geo/address_i18n.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/notreached.h"
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/autofill_type.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/field_types.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_data.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_metadata.h"
namespace autofill {
namespace i18n {
AddressData;
AddressField;
std::unique_ptr<::i18n::addressinput::AddressData>
CreateAddressDataFromAutofillProfile(const AutofillProfile& profile,
const std::string& app_locale) { … }
FieldType TypeForField(AddressField address_field) { … }
bool FieldForType(FieldType server_type, AddressField* field) { … }
bool IsFieldRequired(FieldType server_type, const std::string& country_code) { … }
}
}