Index: components/dom_distiller/content/browser/android/component_jni_registrar.h |
diff --git a/components/dom_distiller/content/browser/android/component_jni_registrar.h b/components/dom_distiller/content/browser/android/component_jni_registrar.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..460909a3d083d57829fd5dc88d93785c1af8ed2a |
--- /dev/null |
+++ b/components/dom_distiller/content/browser/android/component_jni_registrar.h |
@@ -0,0 +1,25 @@ |
+// 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_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |
nyquist
2016/08/24 00:09:32
How about content_jni_registrar?
mdjones
2016/08/24 00:54:47
Done.
|
+#define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |
+ |
+#include <jni.h> |
+ |
+namespace dom_distiller { |
+ |
+namespace content { |
+ |
+namespace android { |
+ |
+// Register all JNI bindings necessary for the dom_distiller component. |
+bool RegisterDomDistiller(JNIEnv* env); |
+ |
+} // namespace android |
+ |
+} // namespace content |
+ |
+} // namespace dom_distiller |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |