Index: content/public/browser/android_library_loader_hooks.h |
diff --git a/content/public/browser/android_library_loader_hooks.h b/content/public/browser/android_library_loader_hooks.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7bb52d4685ac2d2492b377edcbf02c66eebf2429 |
--- /dev/null |
+++ b/content/public/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_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |
+#define CONTENT_PUBLIC_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_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |