OLD | NEW |
---|---|
(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 name(), | |
John Knottenbelt
2011/06/16 15:20:43
is it necessary to list name and device_id here (t
mflodman1
2011/06/20 19:48:03
Done.
I'm used to do it that way to indicate it's
| |
12 device_id(), | |
13 in_use(false), | |
14 session_id(kNoId) {} | |
15 | |
16 StreamDeviceInfo::StreamDeviceInfo(MediaStreamType service_param, | |
17 const std::string name_param, | |
18 const std::string device_param, | |
19 bool opened) | |
20 : stream_type(service_param), | |
21 name(name_param), | |
22 device_id(device_param), | |
23 in_use(opened), | |
24 session_id(kNoId) {} | |
25 | |
26 } // namespace media_stream | |
27 | |
scherkus (not reviewing)
2011/06/17 03:03:52
nit: get rid of blank line
mflodman1
2011/06/20 19:48:03
Done.
| |
OLD | NEW |