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

Unified Diff: mojo/android/javatests/init_library.cc

Issue 2784493003: Consolidate JNI registrations for mojo system. (Closed)
Patch Set: Rebase only Created 3 years, 9 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 | « mojo/android/BUILD.gn ('k') | mojo/android/system/mojo_jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/javatests/init_library.cc
diff --git a/mojo/android/javatests/init_library.cc b/mojo/android/javatests/init_library.cc
index 9e1a593011a6b69ec8c6b72acbc8957aaec8f817..6d6b2861edd2b7d9a3f4ba3a87b800cca234582b 100644
--- a/mojo/android/javatests/init_library.cc
+++ b/mojo/android/javatests/init_library.cc
@@ -10,17 +10,15 @@
#include "base/bind.h"
#include "mojo/android/javatests/mojo_test_case.h"
#include "mojo/android/javatests/validation_test_util.h"
-#include "mojo/android/system/core_impl.h"
-#include "mojo/android/system/watcher_impl.h"
+#include "mojo/android/system/mojo_jni_registrar.h"
#include "mojo/edk/embedder/embedder.h"
namespace {
base::android::RegistrationMethod kMojoRegisteredMethods[] = {
- {"CoreImpl", mojo::android::RegisterCoreImpl},
+ {"MojoSystem", mojo::android::RegisterSystemJni},
{"MojoTestCase", mojo::android::RegisterMojoTestCase},
{"ValidationTestUtil", mojo::android::RegisterValidationTestUtil},
- {"WatcherImpl", mojo::android::RegisterWatcherImpl},
};
bool RegisterJNI(JNIEnv* env) {
« no previous file with comments | « mojo/android/BUILD.gn ('k') | mojo/android/system/mojo_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698