Index: components/memory_coordinator/android/component_jni_registrar.h |
diff --git a/components/memory_coordinator/android/component_jni_registrar.h b/components/memory_coordinator/android/component_jni_registrar.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7268f8267d7f4b9ad0b6472cb2c6b25bbe62a42 |
--- /dev/null |
+++ b/components/memory_coordinator/android/component_jni_registrar.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2016 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 COMPONENTS_MEMORY_COORDINATOR_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |
+#define COMPONENTS_MEMORY_COORDINATOR_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |
+ |
+#include <jni.h> |
+ |
+namespace memory_coordinator { |
+ |
+namespace android { |
+ |
+// Register all JNI bindings necessary for the memory_coordinator component. |
+bool RegisterJni(JNIEnv* env); |
+ |
+} // namespace android |
+ |
+} // namespace memory_coordinator |
+ |
+#endif // COMPONENTS_MEMORY_COORDINATOR_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |