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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
Index: media/capture/video/video_capture_device_info.cc
diff --git a/media/capture/video/video_capture_device_info.cc b/media/capture/video/video_capture_device_info.cc
new file mode 100644
index 0000000000000000000000000000000000000000..50f999ba20df9d9244418ae140cbfcb8f0c7c0fd
--- /dev/null
+++ b/media/capture/video/video_capture_device_info.cc
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "media/capture/video/video_capture_device_info.h"
+
+namespace media {
+
+VideoCaptureDeviceInfo::VideoCaptureDeviceInfo() = default;
+
+VideoCaptureDeviceInfo::VideoCaptureDeviceInfo(
+ media::VideoCaptureDeviceDescriptor descriptor)
+ : descriptor(descriptor) {}
+
+VideoCaptureDeviceInfo::VideoCaptureDeviceInfo(
+ const VideoCaptureDeviceInfo& other) = default;
+
+VideoCaptureDeviceInfo::~VideoCaptureDeviceInfo() = default;
+
+VideoCaptureDeviceInfo& VideoCaptureDeviceInfo::operator=(
+ 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
+
+} // namespace media

Powered by Google App Engine
This is Rietveld 408576698