Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 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 CONTENT_BROWSER_MEDIA_VIDEO_CAPTURE_DEVICE_INFO_H_ | |
| 6 #define CONTENT_BROWSER_MEDIA_VIDEO_CAPTURE_DEVICE_INFO_H_ | |
| 7 | |
| 8 #include "content/common/content_export.h" | |
| 9 #include "media/base/video_capture_types.h" | |
| 10 #include "media/capture/video/video_capture_device_descriptor.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // Bundles a media::VideoCaptureDeviceDescriptor with corresponding supported | |
| 15 // video formats. | |
| 16 struct CONTENT_EXPORT VideoCaptureDeviceInfo { | |
|
mcasas
2016/07/30 00:06:11
Last proposal:
- Move this class as internal to Vi
chfremer
2016/08/01 18:53:12
Done.
Even though I think that nested classes/str
| |
| 17 VideoCaptureDeviceInfo(); | |
| 18 VideoCaptureDeviceInfo(media::VideoCaptureDeviceDescriptor descriptor); | |
| 19 ~VideoCaptureDeviceInfo(); | |
| 20 VideoCaptureDeviceInfo(const VideoCaptureDeviceInfo& other); | |
| 21 VideoCaptureDeviceInfo& operator=(const VideoCaptureDeviceInfo& other); | |
| 22 | |
| 23 media::VideoCaptureDeviceDescriptor descriptor; | |
| 24 media::VideoCaptureFormats supported_formats; | |
| 25 }; | |
| 26 | |
| 27 using VideoCaptureDeviceInfos = std::vector<VideoCaptureDeviceInfo>; | |
| 28 | |
| 29 } // namespace content | |
| 30 | |
| 31 #endif // CONTENT_BROWSER_MEDIA_VIDEO_CAPTURE_DEVICE_INFO_H_ | |
| OLD | NEW |