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 | |
Mark Mentovai
2012/04/25 20:00:20
#pragma once
John Grabowski
2012/04/25 20:32:27
I know this is the style guide, but is it really n
Mark Mentovai
2012/04/25 20:39:58
John Grabowski wrote:
Xianzhu
2012/04/25 22:31:46
Done.
| |
8 #include <jni.h> | |
9 #include <string> | |
Mark Mentovai
2012/04/25 20:00:20
Blank line between C system headers and C++ system
Xianzhu
2012/04/25 22:31:46
Done.
| |
10 | |
11 #include "base/string16.h" | |
12 | |
13 namespace base { | |
14 namespace android { | |
15 | |
16 // Return the current default locale of the device. | |
17 std::string GetDefaultLocale(); | |
18 | |
19 string16 GetDisplayNameForLocale(const std::string& locale, | |
20 const std::string& display_locale); | |
21 | |
22 bool RegisterLocaleUtils(JNIEnv* env); | |
23 | |
24 } // namespace android | |
25 } // namespace base | |
26 | |
27 #endif // BASE_ANDROID_LOCALE_UTILS_H_ | |
OLD | NEW |