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 |