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 3 // found in the LICENSE file. 4 5 #include "media/midi/midi_port_info.h" 6 7 namespace media { 8 9 MIDIPortInfo::MIDIPortInfo() {} 10 11 MIDIPortInfo::MIDIPortInfo(const std::string& in_id, 12 const std::string& in_manufacturer, 13 const std::string& in_name, 14 const std::string& in_version) 15 : id(in_id), 16 manufacturer(in_manufacturer), 17 name(in_name), 18 version(in_version) {} 19 20 MIDIPortInfo::~MIDIPortInfo() {} 21 22 MIDIPortInfo::MIDIPortInfo(const MIDIPortInfo& info) 23 : id(info.id), 24 manufacturer(info.manufacturer), 25 name(info.name), 26 version(info.version) {} 27 28 } // namespace media 29