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

Unified Diff: android_webview/lib/main/webview_jni_onload.h

Issue 975253002: refactoring Android Webview JNI_OnLoad interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove at exit manager change Created 5 years, 9 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 | « android_webview/lib/main/webview_entry_point.cc ('k') | android_webview/lib/main/webview_jni_onload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/webview_jni_onload.h
diff --git a/android_webview/lib/main/webview_jni_onload.h b/android_webview/lib/main/webview_jni_onload.h
index 5805dd33e40cac65b21a51dac0360376990b6526..7621e0d46bc0d54328542f708720322d5051c4ad 100644
--- a/android_webview/lib/main/webview_jni_onload.h
+++ b/android_webview/lib/main/webview_jni_onload.h
@@ -9,8 +9,11 @@
namespace android_webview {
-bool RegisterJNI(JNIEnv* env);
-bool Init();
+// TODO(michaelbai): remove this once we no longer need to be able to run
+// webview with manual JNI registration
+bool OnJNIOnLoadRegisterJNI(JavaVM* vm);
+
+bool OnJNIOnLoadInit();
} // android_webview
« no previous file with comments | « android_webview/lib/main/webview_entry_point.cc ('k') | android_webview/lib/main/webview_jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698