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

Unified Diff: content/browser/media/video_capture_device_info.cc

Issue 2169013002: Change class VideoCaptureDevice::Name to struct VideoCaptureDeviceDescriptor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed emircan's comments. Created 4 years, 5 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: content/browser/media/video_capture_device_info.cc
diff --git a/content/browser/media/video_capture_device_info.cc b/content/browser/media/video_capture_device_info.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2b002ccfffec710fceed8e28c25926af6923ac97
--- /dev/null
+++ b/content/browser/media/video_capture_device_info.cc
@@ -0,0 +1,21 @@
+// Copyright 2016 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 "content/browser/media/video_capture_device_info.h"
+
+namespace content {
+
+VideoCaptureDeviceInfo::VideoCaptureDeviceInfo() {}
mcasas 2016/07/30 00:06:11 nit: you can also add =default in the declaration,
chfremer 2016/08/01 18:53:12 Done.
+
+VideoCaptureDeviceInfo::VideoCaptureDeviceInfo(
+ media::VideoCaptureDeviceDescriptor descriptor)
+ : descriptor(descriptor) {}
+
+VideoCaptureDeviceInfo::~VideoCaptureDeviceInfo() = default;
+VideoCaptureDeviceInfo::VideoCaptureDeviceInfo(
+ const VideoCaptureDeviceInfo& other) = default;
+VideoCaptureDeviceInfo& VideoCaptureDeviceInfo::operator=(
+ const VideoCaptureDeviceInfo& other) = default;
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698