1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
base / android / scoped_java_ref.h [blame]
// 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_