#include "components/autofill/core/browser/geo/region_data_loader_impl.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/region_data.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/region_data_builder.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/source.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h"
namespace autofill {
RegionDataLoaderImpl::RegionDataLoaderImpl(
::i18n::addressinput::Source* address_input_source,
::i18n::addressinput::Storage* address_input_storage,
const std::string& app_locale)
: … { … }
RegionDataLoaderImpl::~RegionDataLoaderImpl() = default;
void RegionDataLoaderImpl::LoadRegionData(
const std::string& country_code,
RegionDataLoaderImpl::RegionDataLoaded callback) { … }
void RegionDataLoaderImpl::ClearCallback() { … }
void RegionDataLoaderImpl::OnRegionDataLoaded(bool success,
const std::string& country_code,
int unused_rule_count) { … }
void RegionDataLoaderImpl::DeleteThis() { … }
}