Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
|
mcasas
2016/04/27 01:19:27
2016 here and elsewhere where you
add a file.
braveyao
2016/05/04 18:49:41
Done.
| |
| 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_ | |
|
mcasas
2016/04/27 01:19:27
Guards don't match path, here and in several
other
braveyao
2016/05/04 18:49:41
Done.
| |
| 6 #define MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "media/capture/content/screen_capture_device_core.h" | |
| 11 #include "media/capture/video/video_capture_device.h" | |
| 12 | |
| 13 namespace media { | |
| 14 | |
| 15 class ScreenCaptureDeviceAndroid : public VideoCaptureDevice { | |
| 16 public: | |
| 17 explicit ScreenCaptureDeviceAndroid(); | |
|
mcasas
2016/04/27 01:19:27
No need for explicit.
braveyao
2016/05/04 18:49:41
Done.
| |
| 18 ~ScreenCaptureDeviceAndroid() override; | |
| 19 | |
| 20 // VideoCaptureDevice implementation. | |
| 21 void AllocateAndStart(const VideoCaptureParams& params, | |
| 22 std::unique_ptr<Client> client) override; | |
| 23 void StopAndDeAllocate() override; | |
|
miu
2016/04/27 05:24:53
Please also implement the RequestRefreshFrame() me
braveyao
2016/05/04 18:49:41
Done.
| |
| 24 | |
| 25 private: | |
| 26 std::unique_ptr<ScreenCaptureDeviceCore> core_; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureDeviceAndroid); | |
| 29 }; | |
| 30 | |
| 31 } // namespace media | |
| 32 | |
| 33 #endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_DEVICE_ANDROID_H_ | |
| OLD | NEW |