Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / base / android / linker / legacy_linker_jni.h
blobfcacf12ce441d8e2d19ce36fc5672aa52fd7868e
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_LEGACY_LINKER_JNI_H_
6 #define BASE_ANDROID_LINKER_LEGACY_LINKER_JNI_H_
8 #include <jni.h>
10 namespace chromium_android_linker {
12 // JNI_OnLoad() initialization hook for the legacy 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 LegacyLinkerJNIInit(JavaVM* vm, JNIEnv* env);
19 } // namespace chromium_android_linker
21 #endif // BASE_ANDROID_LINKER_LEGACY_LINKER_JNI_H_