mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-02-21 09:23:18 +03:00
base: Remove JNI function on Android
This commit is contained in:
parent
37e9212ade
commit
16ffb4111e
@ -4,22 +4,10 @@
|
|||||||
|
|
||||||
#include "base/files/file_util.h"
|
#include "base/files/file_util.h"
|
||||||
|
|
||||||
#include "base/android/jni_string.h"
|
|
||||||
#include "base/files/file_path.h"
|
#include "base/files/file_path.h"
|
||||||
#include "base/path_service.h"
|
#include "base/path_service.h"
|
||||||
|
|
||||||
// Must come after all headers that specialize FromJniType() / ToJniType().
|
|
||||||
#include "base/base_jni/FileUtils_jni.h"
|
|
||||||
|
|
||||||
namespace base {
|
namespace base {
|
||||||
namespace android {
|
|
||||||
|
|
||||||
static std::string JNI_FileUtils_GetAbsoluteFilePath(JNIEnv* env,
|
|
||||||
std::string& file_path) {
|
|
||||||
return MakeAbsoluteFilePath(base::FilePath(file_path)).value();
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace android
|
|
||||||
|
|
||||||
bool GetShmemTempDir(bool executable, base::FilePath* path) {
|
bool GetShmemTempDir(bool executable, base::FilePath* path) {
|
||||||
return PathService::Get(base::DIR_CACHE, path);
|
return PathService::Get(base::DIR_CACHE, path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user