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

Unified Diff: components/safe_browsing_db/android/jni_registrar.h

Issue 2622773002: Componentize SafeBrowsingApi{Bridge,Handler} (Closed)
Patch Set: Addressing vakh@'s comments Created 3 years, 11 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/safe_browsing_db/android/jni_registrar.h
diff --git a/components/safe_browsing_db/android/jni_registrar.h b/components/safe_browsing_db/android/jni_registrar.h
new file mode 100644
index 0000000000000000000000000000000000000000..5299b4b5150f66780d6487027416ca6a6eee402d
--- /dev/null
+++ b/components/safe_browsing_db/android/jni_registrar.h
@@ -0,0 +1,19 @@
+// Copyright 2017 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_SAFE_BROWSING_DB_ANDROID_JNI_REGISTRAR_H
+#define COMPONENTS_SAFE_BROWSING_DB_ANDROID_JNI_REGISTRAR_H
+
+#include <jni.h>
+
+namespace safe_browsing {
+namespace android {
+
+// Register all JNI bindings necessary for chrome browser process.
+bool RegisterBrowserJNI(JNIEnv* env);
+
+} // namespace android
+} // namespace safe_browsing
+
+#endif // COMPONENTS_SAFE_BROWSING_DB_ANDROID_JNI_REGISTRAR_H

Powered by Google App Engine
This is Rietveld 408576698