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

Unified Diff: content/public/app/content_jni_onload.h

Issue 935413004: Separate OnJNIOnLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: content/public/app/content_jni_onload.h
diff --git a/content/public/app/content_jni_onload.h b/content/public/app/content_jni_onload.h
index de2de3abbc8648fd2f205f7578aef3976ab395ab..02261eb33a31a10bbb17993704611d9ec840cce1 100644
--- a/content/public/app/content_jni_onload.h
+++ b/content/public/app/content_jni_onload.h
@@ -20,12 +20,16 @@ class JNIOnLoadDelegate;
namespace content {
namespace android {
-// Returns true if JNI registration and initialization succeeded. Refer to
-// JNIOnLoadDelegate for more information.
-CONTENT_EXPORT bool OnJNIOnLoad(
+// Returns true if JNI registration succeeded. Refer to JNIOnLoadDelegate for
+// more information.
+CONTENT_EXPORT bool OnJNIOnLoadRegisterJNI(
JavaVM* vm,
base::android::JNIOnLoadDelegate* delegate);
+// Returns true if initialization succeeded. Refer to JNIOnLoadDelegate for
+// more information.
+CONTENT_EXPORT bool OnJNIOnLoadInit(base::android::JNIOnLoadDelegate* delegate);
+
} // namespace android
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698