OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/midi/midi_port_info.h" | 5 #include "media/midi/midi_port_info.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 | 8 |
9 MIDIPortInfo::MIDIPortInfo() {} | 9 MidiPortInfo::MidiPortInfo() {} |
10 | 10 |
11 MIDIPortInfo::MIDIPortInfo(const std::string& in_id, | 11 MidiPortInfo::MidiPortInfo(const std::string& in_id, |
12 const std::string& in_manufacturer, | 12 const std::string& in_manufacturer, |
13 const std::string& in_name, | 13 const std::string& in_name, |
14 const std::string& in_version) | 14 const std::string& in_version) |
15 : id(in_id), | 15 : id(in_id), |
16 manufacturer(in_manufacturer), | 16 manufacturer(in_manufacturer), |
17 name(in_name), | 17 name(in_name), |
18 version(in_version) {} | 18 version(in_version) {} |
19 | 19 |
20 MIDIPortInfo::~MIDIPortInfo() {} | 20 MidiPortInfo::~MidiPortInfo() {} |
21 | 21 |
22 MIDIPortInfo::MIDIPortInfo(const MIDIPortInfo& info) | 22 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info) |
23 : id(info.id), | 23 : id(info.id), |
24 manufacturer(info.manufacturer), | 24 manufacturer(info.manufacturer), |
25 name(info.name), | 25 name(info.name), |
26 version(info.version) {} | 26 version(info.version) {} |
27 | 27 |
28 } // namespace media | 28 } // namespace media |
OLD | NEW |