From 99d1c10ad1f82839ea39b6a94bf3827d44658fd9 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 30 Mar 2022 20:23:40 +0800 Subject: [PATCH] base: Remove JNI function on Android --- src/base/files/file_util_android.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/base/files/file_util_android.cc b/src/base/files/file_util_android.cc index e400006907..d2ba684201 100644 --- a/src/base/files/file_util_android.cc +++ b/src/base/files/file_util_android.cc @@ -4,26 +4,10 @@ #include "base/files/file_util.h" -#include "base/android/jni_android.h" -#include "base/android/jni_string.h" -#include "base/base_jni/FileUtils_jni.h" #include "base/files/file_path.h" #include "base/path_service.h" -using base::android::JavaParamRef; -using base::android::JavaRef; -using base::android::ScopedJavaLocalRef; - namespace base { -namespace android { - -static base::FilePath JNI_FileUtils_GetAbsoluteFilePath( - JNIEnv* env, - base::FilePath& file_path) { - return MakeAbsoluteFilePath(file_path); -} - -} // namespace android bool GetShmemTempDir(bool executable, base::FilePath* path) { return PathService::Get(base::DIR_CACHE, path);