Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: media/midi/midi_port_info.cc

Issue 662233002: Web MIDI: make MidiManagerMac notify device connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: it->second Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/midi/midi_port_info.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 MidiPortState in_state)
15 : id(in_id), 16 : id(in_id),
16 manufacturer(in_manufacturer), 17 manufacturer(in_manufacturer),
17 name(in_name), 18 name(in_name),
18 version(in_version) {} 19 version(in_version),
20 state(in_state) {}
19 21
20 MidiPortInfo::~MidiPortInfo() {} 22 MidiPortInfo::~MidiPortInfo() {}
21 23
22 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info) 24 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info)
23 : id(info.id), 25 : id(info.id),
24 manufacturer(info.manufacturer), 26 manufacturer(info.manufacturer),
25 name(info.name), 27 name(info.name),
26 version(info.version) {} 28 version(info.version),
29 state(info.state) {}
27 30
28 } // namespace media 31 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_port_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698