All instances of addresses as void* are changed to uintptr_t in
[chromium-blink-merge.git] / media / midi / midi_port_info.cc
blob112829ac8e63486324df31f6783611098efd59b2
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 {
8 namespace midi {
10 MidiPortInfo::MidiPortInfo() {}
12 MidiPortInfo::MidiPortInfo(const std::string& in_id,
13 const std::string& in_manufacturer,
14 const std::string& in_name,
15 const std::string& in_version,
16 MidiPortState in_state)
17 : id(in_id),
18 manufacturer(in_manufacturer),
19 name(in_name),
20 version(in_version),
21 state(in_state) {}
23 MidiPortInfo::~MidiPortInfo() {}
25 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info)
26 : id(info.id),
27 manufacturer(info.manufacturer),
28 name(info.name),
29 version(info.version),
30 state(info.state) {}
32 } // namespace midi
33 } // namespace media