#include "components/autofill/core/browser/ui/region_combobox_model.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/observer_list.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/geo/region_data_loader.h"
#include "components/strings/grit/components_strings.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/region_data.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/combobox_model_observer.h"
namespace autofill {
RegionComboboxModel::RegionComboboxModel()
: … { … }
RegionComboboxModel::~RegionComboboxModel() { … }
void RegionComboboxModel::LoadRegionData(const std::string& country_code,
RegionDataLoader* region_data_loader) { … }
size_t RegionComboboxModel::GetItemCount() const { … }
std::u16string RegionComboboxModel::GetItemAt(size_t index) const { … }
bool RegionComboboxModel::IsItemSeparatorAt(size_t index) const { … }
void RegionComboboxModel::OnRegionDataLoaded(
const std::vector<const ::i18n::addressinput::RegionData*>& regions) { … }
}