Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / base / android / jni_utils.cc
blobb4d682bc191f945d646d3b87116ac841f2f785a3
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/android/jni_utils.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/scoped_java_ref.h"
10 #include "jni/JNIUtils_jni.h"
12 namespace base {
13 namespace android {
15 ScopedJavaLocalRef<jobject> GetClassLoader(JNIEnv* env) {
16 return Java_JNIUtils_getClassLoader(env);
19 bool RegisterJNIUtils(JNIEnv* env) {
20 return RegisterNativesImpl(env);
23 } // namespace android
24 } // namespace base