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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to use the new CreatePowerSaveBlocker() and pass pixelStride to native 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: content/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index 699d7e8e9b9bdeb5c7f7b347e3c64a135df85e25..b6b97d9c3208ebc0d10f13e4e841a33bc63e347c 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -28,6 +28,7 @@
#include "device/bluetooth/android/bluetooth_jni_registrar.h"
#include "device/usb/android/usb_jni_registrar.h"
#include "media/base/android/media_jni_registrar.h"
+#include "media/capture/content/android/screen_capture_jni_registrar.h"
#include "media/capture/video/android/capture_jni_registrar.h"
#include "media/midi/midi_jni_registrar.h"
#include "net/android/net_jni_registrar.h"
@@ -89,6 +90,9 @@ bool EnsureJniRegistered(JNIEnv* env) {
if (!media::midi::RegisterJni(env))
return false;
+ if (!media::RegisterScreenCaptureJni(env))
+ return false;
+
if (!ui::RegisterUIAndroidJni(env))
return false;

Powered by Google App Engine
This is Rietveld 408576698