[Chromoting] Only raise the CONNECTED event when capabilities are negotiated.
[chromium-blink-merge.git] / media / midi / midi_port_info.cc
blob020394e1c84b8babbb9a09fd6c0282924c54e2bb
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.
5 #include "media/midi/midi_port_info.h"
7 namespace media {
9 MidiPortInfo::MidiPortInfo() {}
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 MidiPortState in_state)
16 : id(in_id),
17 manufacturer(in_manufacturer),
18 name(in_name),
19 version(in_version),
20 state(in_state) {}
22 MidiPortInfo::~MidiPortInfo() {}
24 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info)
25 : id(info.id),
26 manufacturer(info.manufacturer),
27 name(info.name),
28 version(info.version),
29 state(info.state) {}
31 } // namespace media