Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / media / capture / video / video_capture_device_info.h
blob3cdb1b52655183c952ce72bd065dd7bc3e603d8f
1 // Copyright 2014 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.
5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
8 #include "media/base/video_capture_types.h"
9 #include "media/capture/video/video_capture_device.h"
11 namespace media {
13 // A convenience wrap of a device's name and associated supported formats.
14 struct MEDIA_EXPORT VideoCaptureDeviceInfo {
15 VideoCaptureDeviceInfo();
16 VideoCaptureDeviceInfo(const VideoCaptureDevice::Name& name,
17 const VideoCaptureFormats& supported_formats);
18 ~VideoCaptureDeviceInfo();
20 VideoCaptureDevice::Name name;
21 VideoCaptureFormats supported_formats;
24 typedef std::vector<VideoCaptureDeviceInfo> VideoCaptureDeviceInfos;
26 } // namespace media
28 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_