summaryrefslogtreecommitdiff
path: root/chromium/components/country_codes/country_codes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/country_codes/country_codes.cc')
-rw-r--r--chromium/components/country_codes/country_codes.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chromium/components/country_codes/country_codes.cc b/chromium/components/country_codes/country_codes.cc
index 542c19d69e9..c780debf44e 100644
--- a/chromium/components/country_codes/country_codes.cc
+++ b/chromium/components/country_codes/country_codes.cc
@@ -112,16 +112,12 @@ int GeoIDToCountryID(GEOID geo_id) {
const char kCountryIDAtInstall[] = "countryid_at_install";
-#if !defined(OS_WIN) && !defined(OS_MACOSX)
-
int CountryStringToCountryID(const std::string& country) {
return (country.length() == 2)
? CountryCharsToCountryIDWithUpdate(country[0], country[1])
: kCountryIDUnknown;
}
-#endif
-
int GetCountryIDFromPrefs(PrefService* prefs) {
if (!prefs)
return GetCurrentCountryID();