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

Unified Diff: base/android/jni_utils.h

Issue 2501193003: Selectively perform JNI registration in render processes on Android. (Closed)
Patch Set: Address Ted C 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
« no previous file with comments | « base/android/jni_generator/testSingleJNIAdditionalImport.golden ('k') | base/android/jni_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_utils.h
diff --git a/base/android/jni_utils.h b/base/android/jni_utils.h
index 6e836eca5335bd257c8a034f428bc112463b841f..ef645c2633db8fe51577903aa65ee475cfea9406 100644
--- a/base/android/jni_utils.h
+++ b/base/android/jni_utils.h
@@ -18,6 +18,9 @@ namespace android {
// via JNI from Java.
BASE_EXPORT ScopedJavaLocalRef<jobject> GetClassLoader(JNIEnv* env);
+// Returns true if the current process permits selective JNI registration.
+BASE_EXPORT bool isSelectiveJniRegistrationEnabled(JNIEnv* env);
+
} // namespace android
} // namespace base
« no previous file with comments | « base/android/jni_generator/testSingleJNIAdditionalImport.golden ('k') | base/android/jni_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698