#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_GEO_ADDRESS_I18N_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_GEO_ADDRESS_I18N_H_
#include <memory>
#include <string>
#include <vector>
#include "base/functional/callback_forward.h"
#include "components/autofill/core/browser/field_types.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_field.h"
namespace i18n {
namespace addressinput {
struct AddressData;
}
}
namespace autofill {
class AutofillProfile;
class AutofillType;
namespace i18n {
std::unique_ptr<::i18n::addressinput::AddressData> CreateAddressData(
const base::RepeatingCallback<std::u16string(const AutofillType&)>&
get_info);
std::unique_ptr<::i18n::addressinput::AddressData>
CreateAddressDataFromAutofillProfile(const AutofillProfile& profile,
const std::string& app_locale);
FieldType TypeForField(::i18n::addressinput::AddressField field);
bool FieldForType(FieldType server_type,
::i18n::addressinput::AddressField* field);
bool IsFieldRequired(FieldType server_type, const std::string& country_code);
}
}
#endif