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

Unified Diff: content/common/media/media_stream_options.cc

Issue 7192007: Adding error signalling from device to VideocaptureManager to relay up to MediaStream and WebKit. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Adding the gyp-files. Created 9 years, 6 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/common/media/media_stream_options.cc
===================================================================
--- content/common/media/media_stream_options.cc (revision 0)
+++ content/common/media/media_stream_options.cc (revision 0)
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 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/common/media/media_stream_options.h"
+
+namespace media_stream {
+
+StreamDeviceInfo::StreamDeviceInfo()
+ : stream_type(kNoService),
+ in_use(false),
+ session_id(kNoId) {}
+
+StreamDeviceInfo::StreamDeviceInfo(MediaStreamType service_param,
+ const std::string& name_param,
+ const std::string& device_param,
+ bool opened)
+ : stream_type(service_param),
+ name(name_param),
+ device_id(device_param),
+ in_use(opened),
+ session_id(kNoId) {}
+
+} // namespace media_stream

Powered by Google App Engine
This is Rietveld 408576698