OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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. |
| 4 |
| 5 #ifndef BASE_ANDROID_LOCALE_UTILS_H_ |
| 6 #define BASE_ANDROID_LOCALE_UTILS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <jni.h> |
| 10 |
| 11 #include <string> |
| 12 |
| 13 #include "base/string16.h" |
| 14 |
| 15 namespace base { |
| 16 namespace android { |
| 17 |
| 18 // Return the current default locale of the device. |
| 19 std::string GetDefaultLocale(); |
| 20 |
| 21 string16 GetDisplayNameForLocale(const std::string& locale, |
| 22 const std::string& display_locale); |
| 23 |
| 24 bool RegisterLocaleUtils(JNIEnv* env); |
| 25 |
| 26 } // namespace android |
| 27 } // namespace base |
| 28 |
| 29 #endif // BASE_ANDROID_LOCALE_UTILS_H_ |
OLD | NEW |