Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Side by Side Diff: base/android/locale_utils.h

Issue 10224004: Use Android API for GetDisplayNameForLocale(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698