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

Unified Diff: components/url_formatter/android/component_jni_registrar.h

Issue 2110543004: Move JNI bindings for url_formatter from chrome to //components/url_formatter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/url_formatter/android/component_jni_registrar.h
diff --git a/components/url_formatter/android/component_jni_registrar.h b/components/url_formatter/android/component_jni_registrar.h
new file mode 100644
index 0000000000000000000000000000000000000000..b4fcb509436686a0ee98d9eff5bac92df700d4e6
--- /dev/null
+++ b/components/url_formatter/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_URL_FORMATTER_ANDROID_COMPONENT_JNI_REGISTRAR_H_
+#define COMPONENTS_URL_FORMATTER_ANDROID_COMPONENT_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+namespace url_formatter {
+
+namespace android {
+
+// Register all JNI bindings necessary for the url_formatter component.
+bool RegisterUrlFormatter(JNIEnv* env);
+
+} // namespace android
+
+} // namespace url_formatter
+
+#endif // COMPONENTS_URL_FORMATTER_ANDROID_COMPONENT_JNI_REGISTRAR_H_
« no previous file with comments | « components/url_formatter/android/BUILD.gn ('k') | components/url_formatter/android/component_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698