| Index: components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc
|
| diff --git a/components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc b/components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc
|
| index e47b8403f8f8b3cd24abc101373d6b9a56eb7bf2..6b15e3c5c3068bb6668c9d97c2c2429dfa81bf18 100644
|
| --- a/components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc
|
| +++ b/components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc
|
| @@ -2,21 +2,23 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/android/base_jni_registrar.h"
|
| #include "base/android/jni_android.h"
|
| #include "base/bind.h"
|
| -#include "components/test/android/browsertests_apk/components_browser_tests_android.h"
|
| #include "content/public/app/content_jni_onload.h"
|
| #include "content/public/app/content_main.h"
|
| #include "content/public/test/nested_message_pump_android.h"
|
| #include "content/shell/android/shell_jni_registrar.h"
|
| #include "content/shell/app/shell_main_delegate.h"
|
| +#include "testing/android/native_test/native_test_launcher.h"
|
|
|
| namespace {
|
|
|
| bool RegisterJNI(JNIEnv* env) {
|
| - return content::android::RegisterShellJni(env) &&
|
| - content::NestedMessagePumpAndroid::RegisterJni(env) &&
|
| - components::RegisterComponentsBrowserTestsAndroid(env);
|
| + return base::android::RegisterJni(env) &&
|
| + content::android::RegisterShellJni(env) &&
|
| + content::NestedMessagePumpAndroid::RegisterJni(env) &&
|
| + testing::android::RegisterNativeTestJNI(env);
|
| }
|
|
|
| bool Init() {
|
|
|