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

Unified Diff: components/external_video_surface/component_jni_registrar.h

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
Index: components/external_video_surface/component_jni_registrar.h
diff --git a/components/external_video_surface/component_jni_registrar.h b/components/external_video_surface/component_jni_registrar.h
new file mode 100644
index 0000000000000000000000000000000000000000..f1578cb1acc3cb0b5ad86c67212d4caf4e5419de
--- /dev/null
+++ b/components/external_video_surface/component_jni_registrar.h
@@ -0,0 +1,17 @@
+// Copyright 2015 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.
+
+#ifndef COMPONENTS_EXTERNAL_VIDEO_SURFACE_COMPONENT_JNI_REGISTRAR_H_
+#define COMPONENTS_EXTERNAL_VIDEO_SURFACE_COMPONENT_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+namespace external_video_surface {
+
+// Register all JNI bindings necessary for the external_video_surface component.
+bool RegisterExternalVideoSurfaceJni(JNIEnv* env);
+
+} // namespace external_video_surface
+
+#endif // COMPONENTS_EXTERNAL_VIDEO_SURFACE_COMPONENT_JNI_REGISTRAR_H_

Powered by Google App Engine
This is Rietveld 408576698