46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
![]() |
// Copyright 2014 The Chromium Authors
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
|
||
|
// This file is autogenerated by
|
||
|
// third_party/jni_zero/jni_generator.py
|
||
|
// For
|
||
|
// android/net/connectivity/org/chromium/base/FileUtils
|
||
|
|
||
|
#ifndef android_net_connectivity_org_chromium_base_FileUtils_JNI
|
||
|
#define android_net_connectivity_org_chromium_base_FileUtils_JNI
|
||
|
|
||
|
#include <jni.h>
|
||
|
|
||
|
#include "third_party/jni_zero/jni_export.h"
|
||
|
#include "third_party/jni_zero/jni_zero_helper.h"
|
||
|
|
||
|
|
||
|
// Step 1: Forward declarations.
|
||
|
|
||
|
|
||
|
// Step 2: Constants (optional).
|
||
|
|
||
|
|
||
|
// Step 3: Method stubs.
|
||
|
namespace base {
|
||
|
namespace android {
|
||
|
|
||
|
static base::android::ScopedJavaLocalRef<jstring> JNI_FileUtils_GetAbsoluteFilePath(JNIEnv* env,
|
||
|
const base::android::JavaParamRef<jstring>& filePath);
|
||
|
|
||
|
JNI_BOUNDARY_EXPORT jstring Java_android_net_connectivity_J_N_M9MfP_1AJ(
|
||
|
JNIEnv* env,
|
||
|
jclass jcaller,
|
||
|
jstring filePath) {
|
||
|
return JNI_FileUtils_GetAbsoluteFilePath(env, base::android::JavaParamRef<jstring>(env,
|
||
|
filePath)).Release();
|
||
|
}
|
||
|
|
||
|
|
||
|
} // namespace android
|
||
|
} // namespace base
|
||
|
|
||
|
#endif // android_net_connectivity_org_chromium_base_FileUtils_JNI
|