1 // Copyright 2014 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_ANDROID_LOCALE_UTILS_H_
6 #define BASE_ANDROID_LOCALE_UTILS_H_
12 #include "base/base_export.h"
17 BASE_EXPORT std::string GetDefaultCountryCode();
19 // Return the current default locale of the device as string.
20 BASE_EXPORT std::string GetDefaultLocaleString();
22 // Returns a list of user-selected locales as a comma separated string, ordered
23 // by decreasing preference.
24 BASE_EXPORT std::string GetDefaultLocaleListString();
26 } // namespace android
29 #endif // BASE_ANDROID_LOCALE_UTILS_H_