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

Unified Diff: url/run_all_unittests.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, more fixes Created 4 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
Index: url/run_all_unittests.cc
diff --git a/url/run_all_unittests.cc b/url/run_all_unittests.cc
index 088c5c0a5b20c5d04af629c50b44ddfda87c3bc3..c0b306a2e0311fe7a0eb3188d37781f294fed632 100644
--- a/url/run_all_unittests.cc
+++ b/url/run_all_unittests.cc
@@ -11,21 +11,12 @@
#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
-
#if !defined(OS_IOS)
#include "mojo/edk/embedder/embedder.h" // nogncheck
#include "mojo/edk/test/scoped_ipc_support.h" // nogncheck
#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);
#if !defined(OS_IOS)
« base/android/jni_generator/jni_generator.py ('K') | « ui/gl/android/surface_texture.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698