| Index: base/android/path_utils.cc
|
| diff --git a/base/android/path_utils.cc b/base/android/path_utils.cc
|
| index c46e6693aaff9590e2d5422c56589ca8fcbd9ef2..cf5542af681eddd5b0673301be35c95474729e17 100644
|
| --- a/base/android/path_utils.cc
|
| +++ b/base/android/path_utils.cc
|
| @@ -34,6 +34,13 @@ std::string GetDownloadsDirectory() {
|
| return ConvertJavaStringToUTF8(path);
|
| }
|
|
|
| +std::string GetNativeLibraryDirectory() {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + ScopedJavaLocalRef<jstring> path =
|
| + Java_PathUtils_getNativeLibraryDirectory(env, GetApplicationContext());
|
| + return ConvertJavaStringToUTF8(path);
|
| +}
|
| +
|
| bool RegisterPathUtils(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|