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

Unified Diff: content/app/android/content_jni_registrar.cc

Issue 10591005: Add a way for JNI registrars to specify methods to be registered for tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_registrar.cc ('k') | net/android/net_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/content_jni_registrar.cc
diff --git a/content/app/android/content_jni_registrar.cc b/content/app/android/content_jni_registrar.cc
index 61f2192623ab73aad7490363247431ca9761a2cc..3a6bf5338373c32eb1f99bf253bdb5a3712b901b 100644
--- a/content/app/android/content_jni_registrar.cc
+++ b/content/app/android/content_jni_registrar.cc
@@ -44,5 +44,8 @@ bool RegisterJni(JNIEnv* env) {
arraysize(kContentRegisteredMethods));
}
+// Add the methods to be registered for APK unit tests.
+ADD_JNI_REGISTRATION_METHODS_FOR_TESTS(kContentRegisteredMethods)
+
} // namespace android
} // namespace content
« no previous file with comments | « base/android/jni_registrar.cc ('k') | net/android/net_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698