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