Index: media/screen_capture/android/screen_capture_device_android.h |
diff --git a/media/screen_capture/android/screen_capture_device_android.h b/media/screen_capture/android/screen_capture_device_android.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..90b367771902d875dfdfcf88e6ce2cb0b662b758 |
--- /dev/null |
+++ b/media/screen_capture/android/screen_capture_device_android.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
mcasas
2015/06/19 23:22:22
If really needed, I'd put these new files
under me
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ |
+#define MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ |
+ |
+#include "base/memory/scoped_ptr.h" |
+#include "content/browser/media/capture/content_video_capture_device_core.h" |
mcasas
2015/06/19 23:22:22
media/ cannot depend on content/
|
+#include "media/video/capture/video_capture_device.h" |
+ |
+namespace media { |
+ |
+ |
+class ScreenCaptureDeviceAndroid : public VideoCaptureDevice { |
+ public: |
+ explicit ScreenCaptureDeviceAndroid(); |
+ virtual ~ScreenCaptureDeviceAndroid(); |
+ |
+ // VideoCaptureDevice implementation. |
+ void AllocateAndStart(const VideoCaptureParams& params, |
+ scoped_ptr<Client> client) override; |
+ void StopAndDeAllocate() override; |
+ |
+ private: |
+ scoped_ptr<content::ContentVideoCaptureDeviceCore> core_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ScreenCaptureDeviceAndroid); |
+}; |
+ |
+} // namespace webrtc |
+ |
+#endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ |