Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1631)

Unified Diff: android/linker/legacy_linker_jni.h

Issue 2043183002: Update to Chromium //base at Chromium commit 01cb97b2e09618bbc3a60c7348f0a844eea20547. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android/linker/android_dlext.h ('k') | android/linker/legacy_linker_jni.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android/linker/legacy_linker_jni.h
diff --git a/android/linker/legacy_linker_jni.h b/android/linker/legacy_linker_jni.h
new file mode 100644
index 0000000000000000000000000000000000000000..fcacf12ce441d8e2d19ce36fc5672aa52fd7868e
--- /dev/null
+++ b/android/linker/legacy_linker_jni.h
@@ -0,0 +1,21 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_ANDROID_LINKER_LEGACY_LINKER_JNI_H_
+#define BASE_ANDROID_LINKER_LEGACY_LINKER_JNI_H_
+
+#include <jni.h>
+
+namespace chromium_android_linker {
+
+// JNI_OnLoad() initialization hook for the legacy linker.
+// Sets up JNI and other initializations for native linker code.
+// |vm| is the Java VM handle passed to JNI_OnLoad().
+// |env| is the current JNI environment handle.
+// On success, returns true.
+extern bool LegacyLinkerJNIInit(JavaVM* vm, JNIEnv* env);
+
+} // namespace chromium_android_linker
+
+#endif // BASE_ANDROID_LINKER_LEGACY_LINKER_JNI_H_
« no previous file with comments | « android/linker/android_dlext.h ('k') | android/linker/legacy_linker_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698