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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 "content/common/media/media_stream_options.h"
6
7 namespace media_stream {
8
9 StreamDeviceInfo::StreamDeviceInfo()
10 : stream_type(kNoService),
11 in_use(false),
12 session_id(kNoId) {}
13
14 StreamDeviceInfo::StreamDeviceInfo(MediaStreamType service_param,
15 const std::string& name_param,
16 const std::string& device_param,
17 bool opened)
18 : stream_type(service_param),
19 name(name_param),
20 device_id(device_param),
21 in_use(opened),
22 session_id(kNoId) {}
23
24 } // namespace media_stream
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698