#include "components/autofill/core/browser/geo/country_names.h"
#include <map>
#include <memory>
#include <utility>
#include "base/i18n/rtl.h"
#include "base/lazy_instance.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/lock.h"
#include "build/build_config.h"
#include "components/autofill/core/browser/geo/country_data.h"
namespace autofill {
namespace {
std::map<std::string, std::string> GetCommonNames() { … }
}
CountryNames* CountryNames::GetInstance() { … }
CountryNames::CountryNames(const std::string& locale_name)
: … { … }
CountryNames::~CountryNames() = default;
const std::string CountryNames::GetCountryCode(
const std::u16string& country) const { … }
const std::string CountryNames::GetCountryCodeForLocalizedCountryName(
const std::u16string& country,
const std::string& locale_name) { … }
}