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

Unified Diff: media/base/android/media_jni_registrar.cc

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: media/base/android/media_jni_registrar.cc
diff --git a/media/base/android/media_jni_registrar.cc b/media/base/android/media_jni_registrar.cc
index 3ef0f7550ff4a2d5f3245abbc847523d4ac77270..66810d4806b7c7ca123ab99914c3ea970dfff4e5 100644
--- a/media/base/android/media_jni_registrar.cc
+++ b/media/base/android/media_jni_registrar.cc
@@ -15,6 +15,8 @@
#include "media/base/android/media_player_bridge.h"
#include "media/base/android/media_player_listener.h"
#include "media/base/android/sdk_media_codec_bridge.h"
+#include "media/capture/content/android/screen_capture_factory_android.h"
+#include "media/capture/content/android/screen_capture_machine_android.h"
namespace media {
@@ -26,6 +28,10 @@ static base::android::RegistrationMethod kMediaRegisteredMethods[] = {
{"MediaPlayerListener", MediaPlayerListener::RegisterMediaPlayerListener},
{"SdkMediaCodecBridge", SdkMediaCodecBridge::RegisterSdkMediaCodecBridge},
{"MediaCodecUtil", MediaCodecUtil::RegisterMediaCodecUtil},
+ {"ScreenCaptureFactory",
+ ScreenCaptureFactoryAndroid::RegisterScreenCaptureFactory},
+ {"ScreenCaptureMachine",
+ ScreenCaptureMachineAndroid::RegisterScreenCaptureMachine},
mcasas 2016/04/27 01:19:27 There is no capture in this registrar anymore, nor
braveyao 2016/05/04 18:49:40 Isn't Audio capture also a capture? It seems like
mcasas 2016/05/04 19:56:48 Flip the question: is Screen Capture more a Video
};
bool RegisterJni(JNIEnv* env) {

Powered by Google App Engine
This is Rietveld 408576698