Chromium Code Reviews| Index: media/video/capture/video_capture_device.h |
| diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h |
| index 187145ffa84596ed5ea6f7eeccb3d790af4dafc2..1db969bbd72bcb0de7eab6e5a09a01ec7297f196 100644 |
| --- a/media/video/capture/video_capture_device.h |
| +++ b/media/video/capture/video_capture_device.h |
| @@ -165,6 +165,18 @@ class MEDIA_EXPORT VideoCaptureDevice { |
| // Manages a list of Name entries. |
| typedef std::list<Name> Names; |
| + // A convenience wrap of a devices' name and associated supported formats. |
| + struct DeviceInfo { |
|
perkj_chrome
2014/10/08 11:49:59
Please move this out of VideoCaptureDevice and why
mcasas
2014/10/08 14:05:18
Done.
|
| + DeviceInfo(); |
| + DeviceInfo(const Name& name, |
| + const VideoCaptureFormats& supported_formats); |
| + ~DeviceInfo(); |
| + |
| + Name name; |
| + VideoCaptureFormats supported_formats; |
| + }; |
| + typedef std::vector<DeviceInfo> DeviceInfos; |
| + |
| class MEDIA_EXPORT Client { |
| public: |
| // Memory buffer returned by Client::ReserveOutputBuffer(). |