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

Unified Diff: base/test/run_all_unittests.cc

Issue 2202793002: base: Remove unneeded RegisterNatives() calls on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg2
Patch Set: rebase Created 4 years, 4 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/base.gypi ('k') | base/test/test_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/run_all_unittests.cc
diff --git a/base/test/run_all_unittests.cc b/base/test/run_all_unittests.cc
index 5e7fe0df6ce9f643498fd5e0f596d1d784a0fe5c..05f30120c2fad288d31489cb8579a399c433e78f 100644
--- a/base/test/run_all_unittests.cc
+++ b/base/test/run_all_unittests.cc
@@ -7,16 +7,7 @@
#include "base/test/test_suite.h"
#include "build/build_config.h"
-#if defined(OS_ANDROID)
-#include "base/android/jni_android.h"
-#include "base/test/test_file_util.h"
-#endif
-
int main(int argc, char** argv) {
-#if defined(OS_ANDROID)
- JNIEnv* env = base::android::AttachCurrentThread();
- base::RegisterContentUriTestUtils(env);
-#endif
base::TestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
argc, argv,
« no previous file with comments | « base/base.gypi ('k') | base/test/test_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698