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

Unified Diff: base/test/android/test_support_jni_registrar.cc

Issue 2549363004: Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: content_unittests + sync Created 3 years, 11 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/test/android/test_support_jni_registrar.h ('k') | base/test/main_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/android/test_support_jni_registrar.cc
diff --git a/base/test/android/test_support_jni_registrar.cc b/base/test/android/test_support_jni_registrar.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a0c0e10866f770eeb31c2a904c3e71033fb365fd
--- /dev/null
+++ b/base/test/android/test_support_jni_registrar.cc
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/test/android/test_support_jni_registrar.h"
+
+#include "base/android/jni_registrar.h"
+#include "base/test/android/multiprocess_test_client_service.h"
+#include "base/test/multiprocess_test.h"
+
+namespace base {
+namespace android {
+
+static RegistrationMethod kBaseTestSupportRegisteredMethods[] = {
+ {"MultiprocessTestClientService", RegisterMultiprocessTestClientServiceJni},
+};
+
+bool RegisterTestSupportJni(JNIEnv* env) {
+ return RegisterNativeMethods(env, kBaseTestSupportRegisteredMethods,
+ arraysize(kBaseTestSupportRegisteredMethods));
+}
+
+} // namespace android
+} // namespace base
« no previous file with comments | « base/test/android/test_support_jni_registrar.h ('k') | base/test/main_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698