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

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: address review comments Created 4 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: 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..0f77e5c1df2ab4eba58094b8d2842e0dd692d0b6 100644
--- a/media/base/android/media_jni_registrar.cc
+++ b/media/base/android/media_jni_registrar.cc
@@ -15,6 +15,7 @@
#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_machine_android.h"
namespace media {
@@ -26,6 +27,8 @@ static base::android::RegistrationMethod kMediaRegisteredMethods[] = {
{"MediaPlayerListener", MediaPlayerListener::RegisterMediaPlayerListener},
{"SdkMediaCodecBridge", SdkMediaCodecBridge::RegisterSdkMediaCodecBridge},
{"MediaCodecUtil", MediaCodecUtil::RegisterMediaCodecUtil},
+ {"ScreenCaptureMachine",
+ ScreenCaptureMachineAndroid::RegisterScreenCaptureMachine},
};
bool RegisterJni(JNIEnv* env) {

Powered by Google App Engine
This is Rietveld 408576698