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

Unified Diff: mojo/android/system/mojo_jni_registrar.h

Issue 2784493003: Consolidate JNI registrations for mojo system. (Closed)
Patch Set: Created 3 years, 9 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
Index: mojo/android/system/mojo_jni_registrar.h
diff --git a/mojo/android/system/mojo_jni_registrar.h b/mojo/android/system/mojo_jni_registrar.h
new file mode 100644
index 0000000000000000000000000000000000000000..e4f3ebcae709a892e7d5c23e14bb2c27f496cb98
--- /dev/null
+++ b/mojo/android/system/mojo_jni_registrar.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2017 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 MOJO_ANDROID_SYSTEM_MOJO_JNI_REGISTRAR_H_
+#define MOJO_ANDROID_SYSTEM_MOJO_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+namespace mojo {
+namespace android {
+
+// Register all JNI bindings necessary for mojo system.
+bool RegisterSystemJni(JNIEnv* env);
+
+} // namespace android
+} // namespace mojo
+
+#endif // MOJO_ANDROID_SYSTEM_MOJO_JNI_REGISTRAR_H_

Powered by Google App Engine
This is Rietveld 408576698