Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: media/video/capture/video_capture_device_info.h

Issue 616833004: chrome://media-internals: update MediaInternals when devices capabilities are enumerated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perkj@s comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
7
8 #include "media/video/capture/video_capture_device.h"
9 #include "media/video/capture/video_capture_types.h"
10
11 namespace media {
12
13 // A convenience wrap of a devices' name and associated supported formats.
wolenetz 2014/10/09 20:51:43 nit: s/devices'/device's/
mcasas 2014/10/10 11:30:42 Done.
14 struct MEDIA_EXPORT VideoCaptureDeviceInfo {
15 VideoCaptureDeviceInfo();
16 VideoCaptureDeviceInfo(const VideoCaptureDevice::Name& name,
17 const VideoCaptureFormats& supported_formats);
18 ~VideoCaptureDeviceInfo();
19
20 VideoCaptureDevice::Name name;
21 VideoCaptureFormats supported_formats;
22 };
23
24 typedef std::vector<VideoCaptureDeviceInfo> VideoCaptureDeviceInfos;
25
26 } // namespace media
27
28 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698