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

Unified Diff: ipc/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: ipc/run_all_unittests.cc
diff --git a/ipc/run_all_unittests.cc b/ipc/run_all_unittests.cc
index 44bbf60dc6deac77f06469a2017c2e97fcf1ba20..a9d213352e01d69f75d86b8cddfdd839cc7093f7 100644
--- a/ipc/run_all_unittests.cc
+++ b/ipc/run_all_unittests.cc
@@ -11,11 +11,6 @@
#include "mojo/edk/embedder/embedder.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"
-#endif
-
#if defined(OS_MACOSX) && !defined(OS_IOS)
#include "base/mac/mach_port_broker.h"
#endif
@@ -23,9 +18,6 @@
int main(int argc, char** argv) {
#if defined(OS_ANDROID)
base::InitAndroidMultiProcessTestHelper(main);
-
- JNIEnv* env = base::android::AttachCurrentThread();
- base::RegisterContentUriTestUtils(env);
#endif
base::TestSuite test_suite(argc, argv);
mojo::edk::Init();

Powered by Google App Engine
This is Rietveld 408576698