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

Unified Diff: base/android/base_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 | « no previous file | base/android/jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/base_jni_registrar.cc
diff --git a/base/android/base_jni_registrar.cc b/base/android/base_jni_registrar.cc
index 06b01495c58bfbe24c3135373f679d2507579af2..bcebd31ffe50bba66e204ba0f644043fc66ddadf 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -30,5 +30,8 @@ bool RegisterJni(JNIEnv* env) {
arraysize(kBaseRegisteredMethods));
}
+// Add the methods to be registered for APK unit tests.
+ADD_JNI_REGISTRATION_METHODS_FOR_TESTS(kBaseRegisteredMethods)
+
} // namespace android
} // namespace base
« no previous file with comments | « no previous file | base/android/jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698