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 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
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() {}
14
15 MIDIPortInfo::MIDIPortInfo(const std::string& in_id,
16 const std::string& in_manufacturer,
17 const std::string& in_name,
18 const std::string& in_version)
19 : id(in_id),
20 manufacturer(in_manufacturer),
21 name(in_name),
22 version(in_version) {}
23
24 MIDIPortInfo::~MIDIPortInfo() {}
25
26 MIDIPortInfo::MIDIPortInfo(const MIDIPortInfo& info)
27 : id(info.id),
28 manufacturer(info.manufacturer),
29 name(info.name),
30 version(info.version) {}
31
32 void MIDIPortInfo::Print() const {
scherkus (not reviewing) 2013/06/14 00:54:48 OOC do you use this somewhere in production code o
Chris Rogers 2013/06/20 17:41:33 Done.
33 cout << "======================================================\n";
34 cout << "id: " << id << "\n";
35 cout << "manufacturer: " << manufacturer << "\n";
36 cout << "name: " << name << "\n";
37 cout << "version: " << version << "\n";
38 cout << "======================================================\n\n";
39 }
40
41 } // namespace media
OLDNEW
« content/renderer/media/renderer_webmidiaccessor_impl.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