// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_ANDROID_SCOPED_JAVA_REF_H_
#define BASE_ANDROID_SCOPED_JAVA_REF_H_
#include "third_party/jni_zero/jni_zero.h"
namespace base {
namespace android {
using ScopedJavaLocalFrame = jni_zero::ScopedJavaLocalFrame;
template <typename T>
using JavaRef = jni_zero::JavaRef<T>;
template <typename T>
using JavaObjectArrayReader = jni_zero::JavaObjectArrayReader<T>;
template <typename T>
using JavaParamRef = jni_zero::JavaParamRef<T>;
template <typename T>
using ScopedJavaLocalRef = jni_zero::ScopedJavaLocalRef<T>;
template <typename T>
using ScopedJavaGlobalRef = jni_zero::ScopedJavaGlobalRef<T>;
template <typename T>
using JavaObjectArrayReader = jni_zero::JavaObjectArrayReader<T>;
} // namespace android
} // namespace base
#endif // BASE_ANDROID_SCOPED_JAVA_REF_H_