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

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

Issue 16025005: Web MIDI API back-end (work-in-progress) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« media/midi/midi_port_info.h ('K') | « 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
(Empty)
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 #include <iostream>
8
9 using std::cout;
10
11 namespace media {
12
13 MIDIPortInfo::MIDIPortInfo(const std::string& id,
14 const std::string& manufacturer,
15 const std::string& name,
16 const std::string& version)
17 : id_(id),
18 manufacturer_(manufacturer),
19 name_(name),
20 version_(version) {}
21
22 MIDIPortInfo::~MIDIPortInfo() {}
23
24 MIDIPortInfo::MIDIPortInfo(const MIDIPortInfo& info)
25 : id_(info.id_),
26 manufacturer_(info.manufacturer_),
27 name_(info.name_),
28 version_(info.version_) {}
29
30 void MIDIPortInfo::Print() const {
31 cout << "======================================================\n";
32 cout << "id: " << id_ << "\n";
33 cout << "manufacturer: " << manufacturer_ << "\n";
34 cout << "name: " << name_ << "\n";
35 cout << "version: " << version_ << "\n";
36 cout << "======================================================\n\n";
37 }
38
39 } // namespace media
OLDNEW
« media/midi/midi_port_info.h ('K') | « media/midi/midi_port_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698