mac: Let IPhotoDataProvider::GetAlbumNames() return albums in a deterministic order.
[chromium-blink-merge.git] / base / android / locale_utils.h
blob9e03b83de7a76a9db3365d1166eaa274f0354965
1 // Copyright 2014 The Chromium Authors. All rights reserved.
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_
8 #include <jni.h>
10 #include <string>
12 #include "base/base_export.h"
14 namespace base {
15 namespace android {
17 BASE_EXPORT std::string GetDefaultCountryCode();
19 // Return the current default locale of the device.
20 BASE_EXPORT std::string GetDefaultLocale();
22 BASE_EXPORT bool RegisterLocaleUtils(JNIEnv* env);
24 } // namespace android
25 } // namespace base
27 #endif // BASE_ANDROID_LOCALE_UTILS_H_