Index: content/browser/android/library_loader_hooks.h |
diff --git a/content/browser/android/library_loader_hooks.h b/content/browser/android/library_loader_hooks.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..88a99e60c001a3644d45f45eed1b642f8ebad49f |
--- /dev/null |
+++ b/content/browser/android/library_loader_hooks.h |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |
+#define CONTENT_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |
+ |
+#include <jni.h> |
+ |
+#include "base/basictypes.h" |
+ |
+// Registers the callbacks that allows the entry point of the library to be |
+// exposed to the calling java code. This handles only registering the content |
+// specific callbacks. Any application specific JNI bindings should happen |
+// once the native library has fully loaded. |
+bool RegisterLibraryLoaderEntryHook(JNIEnv* env); |
+ |
+#endif // CONTENT_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |