Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / base / android / linker / modern_linker_jni.h
blob74eb58679f456b6a2d02675ebb5b0cec4444a190
1 // Copyright 2015 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 #ifndef BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
6 #define BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
8 #include <jni.h>
10 namespace chromium_android_linker {
12 // JNI_OnLoad() initialization hook for the modern linker.
13 // Sets up JNI and other initializations for native linker code.
14 // |vm| is the Java VM handle passed to JNI_OnLoad().
15 // |env| is the current JNI environment handle.
16 // On success, returns true.
17 extern bool ModernLinkerJNIInit(JavaVM* vm, JNIEnv* env);
19 } // namespace chromium_android_linker
21 #endif // BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_