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

Unified Diff: components/external_video_surface/component_jni_registrar.cc

Issue 1123993002: Componentizes external_video_surface to reduce webview/Cast duplication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: java DEPS, round 2 Created 5 years, 7 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 | « components/external_video_surface/component_jni_registrar.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/external_video_surface/component_jni_registrar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698