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

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

Issue 2620303004: Remove JNI onload callback vector construction in favour of direct calls. (Closed)
Patch Set: rebase compile errors Created 3 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 1b220f528445eae22e8a4d445eb571bcf15eefd0..0f449ea56e2a85c70632a849099d605aa10c4ff4 100644
--- a/content/public/app/content_jni_onload.h
+++ b/content/public/app/content_jni_onload.h
@@ -14,13 +14,10 @@ namespace content {
namespace android {
// Returns true if JNI registration succeeded.
-CONTENT_EXPORT bool OnJNIOnLoadRegisterJNI(
- JavaVM* vm,
- std::vector<base::android::RegisterCallback> callbacks);
+CONTENT_EXPORT bool OnJNIOnLoadRegisterJNI(JNIEnv* env);
// Returns true if initialization succeeded.
-CONTENT_EXPORT bool OnJNIOnLoadInit(
- std::vector<base::android::InitCallback> callbacks);
+CONTENT_EXPORT bool OnJNIOnLoadInit();
} // namespace android
} // namespace content
« no previous file with comments | « content/app/android/content_jni_onload.cc ('k') | content/shell/android/browsertests_apk/content_browser_tests_jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698