| Index: components/external_video_surface/component_jni_registrar.cc
|
| diff --git a/components/service_tab_launcher/component_jni_registrar.cc b/components/external_video_surface/component_jni_registrar.cc
|
| similarity index 54%
|
| copy from components/service_tab_launcher/component_jni_registrar.cc
|
| copy to components/external_video_surface/component_jni_registrar.cc
|
| index 69298f5c0c5b5046967579aaa2fb96d213e7bce6..98e90298bc6de47af4935a1f7654b9d7a1d9fef4 100644
|
| --- a/components/service_tab_launcher/component_jni_registrar.cc
|
| +++ b/components/external_video_surface/component_jni_registrar.cc
|
| @@ -2,22 +2,22 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/service_tab_launcher/component_jni_registrar.h"
|
| +#include "components/external_video_surface/component_jni_registrar.h"
|
|
|
| #include "base/android/jni_android.h"
|
| #include "base/android/jni_registrar.h"
|
| -#include "components/service_tab_launcher/browser/android/service_tab_launcher.h"
|
| +#include "components/external_video_surface/browser/android/external_video_surface_container_impl.h"
|
|
|
| -namespace service_tab_launcher {
|
| +namespace external_video_surface {
|
|
|
| static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
|
| - { "ServiceTabLauncher", ServiceTabLauncher::RegisterServiceTabLauncher },
|
| + { "ExternalVideoSurface", ExternalVideoSurfaceContainerImpl::RegisterJni },
|
| };
|
|
|
| -bool RegisterServiceTabLauncherJni(JNIEnv* env) {
|
| +bool RegisterExternalVideoSurfaceJni(JNIEnv* env) {
|
| return RegisterNativeMethods(env,
|
| kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
|
| }
|
|
|
| -} // namespace service_tab_launcher
|
| +} // namespace external_video_surface
|
|
|
|
|