Index: media/capture/content/android/screen_capture_jni_registrar.h |
diff --git a/media/capture/content/android/screen_capture_jni_registrar.h b/media/capture/content/android/screen_capture_jni_registrar.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a6730b8f2b8bd7d9e0152fbad1e0d3f4f8565dd4 |
--- /dev/null |
+++ b/media/capture/content/android/screen_capture_jni_registrar.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2016 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 MEDIA_CAPTURE_CONTENT_ANDROID_SCREEN_CAPTURE_JNI_REGISTRAR_H_ |
+#define MEDIA_CAPTURE_CONTENT_ANDROID_SCREEN_CAPTURE_JNI_REGISTRAR_H_ |
+ |
+#include <jni.h> |
+ |
+#include "media/base/media_export.h" |
+ |
+namespace media { |
+ |
+// Register all JNI bindings necessary for screen capture. |
+MEDIA_EXPORT bool RegisterScreenCaptureJni(JNIEnv* env); |
+ |
+} // namespace media |
+ |
+#endif // MEDIA_CAPTURE_CONTENT_ANDROID_SCREEN_CAPTURE_JNI_REGISTRAR_H_ |