Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // 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
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ | |
| 6 #define MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "content/browser/media/capture/content_video_capture_device_core.h" | |
|
mcasas
2015/06/19 23:22:22
media/ cannot depend on content/
| |
| 10 #include "media/video/capture/video_capture_device.h" | |
| 11 | |
| 12 namespace media { | |
| 13 | |
| 14 | |
| 15 class ScreenCaptureDeviceAndroid : public VideoCaptureDevice { | |
| 16 public: | |
| 17 explicit ScreenCaptureDeviceAndroid(); | |
| 18 virtual ~ScreenCaptureDeviceAndroid(); | |
| 19 | |
| 20 // VideoCaptureDevice implementation. | |
| 21 void AllocateAndStart(const VideoCaptureParams& params, | |
| 22 scoped_ptr<Client> client) override; | |
| 23 void StopAndDeAllocate() override; | |
| 24 | |
| 25 private: | |
| 26 scoped_ptr<content::ContentVideoCaptureDeviceCore> core_; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureDeviceAndroid); | |
| 29 }; | |
| 30 | |
| 31 } // namespace webrtc | |
| 32 | |
| 33 #endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ | |
| OLD | NEW |