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

Unified Diff: base/android/jni_utils.h

Issue 2501193003: Selectively perform JNI registration in render processes on Android. (Closed)
Patch Set: Conditionally register JNI based on process type. 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: base/android/jni_utils.h
diff --git a/base/android/jni_utils.h b/base/android/jni_utils.h
index 6e836eca5335bd257c8a034f428bc112463b841f..2bd523ab32e91d29b4c2c345f3e0eeb0294492f2 100644
--- a/base/android/jni_utils.h
+++ b/base/android/jni_utils.h
@@ -7,6 +7,7 @@
#include <jni.h>
+#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
namespace base {
@@ -18,6 +19,8 @@ namespace android {
// via JNI from Java.
BASE_EXPORT ScopedJavaLocalRef<jobject> GetClassLoader(JNIEnv* env);
+BASE_EXPORT JniRegistrationType GetJniRegistrationType(JNIEnv* env);
+
} // namespace android
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698