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

Unified Diff: base/android/jni_utils.h

Issue 2501193003: Selectively perform JNI registration in render processes on Android. (Closed)
Patch Set: Keep JniRegistrationType in native, add enableSelectiveJniRegistration to Java 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..0a383362703c01aca56d01727f764612ace4a9a2 100644
--- a/base/android/jni_utils.h
+++ b/base/android/jni_utils.h
@@ -18,6 +18,8 @@ namespace android {
// via JNI from Java.
BASE_EXPORT ScopedJavaLocalRef<jobject> GetClassLoader(JNIEnv* env);
+BASE_EXPORT bool isSelectiveJniRegistrationEnabled(JNIEnv* env);
Ted C 2017/01/31 17:56:54 comment for this?
estevenson 2017/01/31 18:56:41 Done.
+
} // namespace android
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698