[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / ui / base / l10n / l10n_util_android.h
blobc8cf4bb2733848aa340b8679d00d52f8f2135904
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.
5 #ifndef UI_BASE_L10N_L10N_UTIL_ANDROID_H_
6 #define UI_BASE_L10N_L10N_UTIL_ANDROID_H_
8 #include <jni.h>
10 #include <string>
12 #include "base/strings/string16.h"
13 #include "ui/base/ui_base_export.h"
15 namespace l10n_util {
17 // Return the current default locale of the device.
18 UI_BASE_EXPORT std::string GetDefaultLocale();
20 UI_BASE_EXPORT base::string16 GetDisplayNameForLocale(
21 const std::string& locale,
22 const std::string& display_locale);
24 UI_BASE_EXPORT bool IsLayoutRtl();
26 UI_BASE_EXPORT bool RegisterLocalizationUtil(JNIEnv* env);
28 } // namespace l10n_util
30 #endif // UI_BASE_L10N_L10N_UTIL_ANDROID_H_