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

Unified Diff: testing/android/native_test_launcher.cc

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 side-by-side diff with in-line comments
Download patch
Index: testing/android/native_test_launcher.cc
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc
index bc5d47f3b9313321a6800776af54e883a2864059..f65cad1cf9148692044d01ce6d4d1835d11c37b9 100644
--- a/testing/android/native_test_launcher.cc
+++ b/testing/android/native_test_launcher.cc
@@ -6,6 +6,7 @@
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
+#include "base/android/locale_utils.h"
#include "base/android/path_utils.h"
#include "base/at_exit.h"
#include "base/command_line.h"
@@ -149,6 +150,7 @@ void LibraryLoadedOnMainThread(JNIEnv* env) {
false); // Tick count
VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel()
<< ", default verbosity = " << logging::GetVlogVerbosity();
+ base::android::RegisterLocaleUtils(env);
base::android::RegisterPathUtils(env);
}

Powered by Google App Engine
This is Rietveld 408576698