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

Unified Diff: components/dom_distiller/content/browser/android/component_jni_registrar.h

Issue 2252963004: Remove dom_distiller core dependency on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: 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_

Powered by Google App Engine
This is Rietveld 408576698