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

Unified Diff: content/test/run_all_unittests.cc

Issue 10805019: Add net library for content unit test and enable related test cases on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add dependency to net_java Created 8 years, 5 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/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/run_all_unittests.cc
diff --git a/content/test/run_all_unittests.cc b/content/test/run_all_unittests.cc
index f90167aee05edc222ad76aed6f92bd82c0ec8a9d..142192f329db50bbb6f0868e9bd7c6e018a3b589 100644
--- a/content/test/run_all_unittests.cc
+++ b/content/test/run_all_unittests.cc
@@ -9,6 +9,7 @@
#include "base/android/jni_android.h"
#include "content/browser/android/browser_jni_registrar.h"
#include "content/common/android/common_jni_registrar.h"
+#include "net/android/net_jni_registrar.h"
#endif
int main(int argc, char** argv) {
@@ -18,6 +19,7 @@ int main(int argc, char** argv) {
JNIEnv* env = base::android::AttachCurrentThread();
content::android::RegisterCommonJni(env);
content::android::RegisterBrowserJni(env);
+ net::android::RegisterJni(env);
#endif
return content::UnitTestTestSuite(
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698