Index: blimp/client/android/blimp_jni_registrar.h |
diff --git a/blimp/client/android/blimp_jni_registrar.h b/blimp/client/android/blimp_jni_registrar.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4d8b0c468ab027dd4aeb8cd870c41baad66c1125 |
--- /dev/null |
+++ b/blimp/client/android/blimp_jni_registrar.h |
@@ -0,0 +1,19 @@ |
+// 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 BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
+#define BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
+ |
+#include <jni.h> |
+ |
+namespace blimp { |
+ |
+// Registers native method hooks with the Java runtime specified by |env|. |
+// Returns false if registration fails, in which case native methods are |
+// unavailable to Java. |
+bool RegisterBlimpJni(JNIEnv* env); |
+ |
+} // namespace blimp |
+ |
+#endif // BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ |