summaryrefslogtreecommitdiffstats
path: root/android_webview/native/android_webview_jni_registrar.h
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/native/android_webview_jni_registrar.h')
-rw-r--r--android_webview/native/android_webview_jni_registrar.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/android_webview/native/android_webview_jni_registrar.h b/android_webview/native/android_webview_jni_registrar.h
new file mode 100644
index 0000000..a1a3748
--- /dev/null
+++ b/android_webview/native/android_webview_jni_registrar.h
@@ -0,0 +1,17 @@
+// 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 ANDROID_WEBVIEW_NATIVE_ANDROID_WEBVIEW_JNI_REGISTRAR_H_
+#define ANDROID_WEBVIEW_NATIVE_ANDROID_WEBVIEW_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+namespace android_webview {
+
+// Register all JNI bindings necessary for chrome.
+bool RegisterJni(JNIEnv* env);
+
+} // namespace android_webview
+
+#endif // ANDROID_WEBVIEW_NATIVE_ANDROID_WEBVIEW_JNI_REGISTRAR_H_