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

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

Issue 1731403002: media: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « media/base/video_decoder_config.cc ('k') | media/capture/video/video_capture_device_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_ 6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
7 7
8 #include "media/base/video_capture_types.h" 8 #include "media/base/video_capture_types.h"
9 #include "media/capture/video/video_capture_device.h" 9 #include "media/capture/video/video_capture_device.h"
10 10
11 namespace media { 11 namespace media {
12 12
13 // A convenience wrap of a device's name and associated supported formats. 13 // A convenience wrap of a device's name and associated supported formats.
14 struct MEDIA_EXPORT VideoCaptureDeviceInfo { 14 struct MEDIA_EXPORT VideoCaptureDeviceInfo {
15 VideoCaptureDeviceInfo(); 15 VideoCaptureDeviceInfo();
16 VideoCaptureDeviceInfo(const VideoCaptureDevice::Name& name, 16 VideoCaptureDeviceInfo(const VideoCaptureDevice::Name& name,
17 const VideoCaptureFormats& supported_formats); 17 const VideoCaptureFormats& supported_formats);
18 VideoCaptureDeviceInfo(const VideoCaptureDeviceInfo& other);
18 ~VideoCaptureDeviceInfo(); 19 ~VideoCaptureDeviceInfo();
19 20
20 VideoCaptureDevice::Name name; 21 VideoCaptureDevice::Name name;
21 VideoCaptureFormats supported_formats; 22 VideoCaptureFormats supported_formats;
22 }; 23 };
23 24
24 typedef std::vector<VideoCaptureDeviceInfo> VideoCaptureDeviceInfos; 25 typedef std::vector<VideoCaptureDeviceInfo> VideoCaptureDeviceInfos;
25 26
26 } // namespace media 27 } // namespace media
27 28
28 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_ 29 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_INFO_H_
OLDNEW
« no previous file with comments | « media/base/video_decoder_config.cc ('k') | media/capture/video/video_capture_device_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698