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

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

Issue 2769543002: [Mojo Video Capture] Introduce abstraction VideoCaptureSystem (Closed)
Patch Set: Fix for code that should only be run for MEDIA_DEVICE_VIDEO_CAPTURE Created 3 years, 8 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 2017 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 #include "media/capture/video/video_capture_device_info.h"
6
7 namespace media {
8
9 VideoCaptureDeviceInfo::VideoCaptureDeviceInfo() = default;
10
11 VideoCaptureDeviceInfo::VideoCaptureDeviceInfo(
12 media::VideoCaptureDeviceDescriptor descriptor)
13 : descriptor(descriptor) {}
14
15 VideoCaptureDeviceInfo::VideoCaptureDeviceInfo(
16 const VideoCaptureDeviceInfo& other) = default;
17
18 VideoCaptureDeviceInfo::~VideoCaptureDeviceInfo() = default;
19
20 VideoCaptureDeviceInfo& VideoCaptureDeviceInfo::operator=(
21 const VideoCaptureDeviceInfo& other) = default;
mcasas 2017/04/04 18:38:41 Since all this methods are =default, why not movin
chfremer 2017/04/04 19:05:33 Because this struct is considered "complex" (becau
22
23 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698