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

Unified Diff: net/android/net_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 | « content/app/android/content_jni_registrar.cc ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/net_jni_registrar.cc
diff --git a/net/android/net_jni_registrar.cc b/net/android/net_jni_registrar.cc
index b475cac391ff715368291d275abbdc906bbdf180..e636bc6bd0a1e8de9f96b1d5bf44b57331b8ff9a 100644
--- a/net/android/net_jni_registrar.cc
+++ b/net/android/net_jni_registrar.cc
@@ -25,5 +25,8 @@ bool RegisterJni(JNIEnv* env) {
env, kNetRegisteredMethods, arraysize(kNetRegisteredMethods));
}
+// Add the methods to be registered for APK unit tests.
+ADD_JNI_REGISTRATION_METHODS_FOR_TESTS(kNetRegisteredMethods)
+
} // namespace android
} // namespace net
« no previous file with comments | « content/app/android/content_jni_registrar.cc ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698