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

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: For landing Created 8 years, 7 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
« no previous file with comments | « base/android/java/org/chromium/base/LocaleUtils.java ('k') | base/android/locale_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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_
OLDNEW
« no previous file with comments | « base/android/java/org/chromium/base/LocaleUtils.java ('k') | base/android/locale_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698