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

Unified Diff: content/test/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: content/test/run_all_unittests.cc
diff --git a/content/test/run_all_unittests.cc b/content/test/run_all_unittests.cc
index b254ef83369fab375edc57f20672ae0e9d38f39b..2d96f8f049d4193c6baa9a17a76182814aea1b9a 100644
--- a/content/test/run_all_unittests.cc
+++ b/content/test/run_all_unittests.cc
@@ -12,17 +12,7 @@
#include "content/test/content_test_suite.h"
#include "mojo/edk/test/scoped_ipc_support.h"
-#if defined(OS_ANDROID)
-#include "base/android/jni_android.h"
-#include "base/test/test_file_util.h"
-#include "content/browser/gpu/browser_gpu_channel_host_factory.h"
-#endif
-
int main(int argc, char** argv) {
-#if defined(OS_ANDROID)
- // Register JNI bindings for android.
- base::RegisterContentUriTestUtils(base::android::AttachCurrentThread());
-#endif
content::UnitTestTestSuite test_suite(
new content::ContentTestSuite(argc, argv));
content::InitializeMojo();

Powered by Google App Engine
This is Rietveld 408576698