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

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

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 #ifndef MEDIA_MIDI_MIDI_PORT_INFO_H_
6 #define MEDIA_MIDI_MIDI_PORT_INFO_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "base/basictypes.h"
12 #include "media/base/media_export.h"
13
14 namespace media {
15
16 struct MEDIA_EXPORT MIDIPortInfo {
17 MIDIPortInfo(const std::string& id,
18 const std::string& manufacturer,
19 const std::string& name,
20 const std::string& version);
21
22 MIDIPortInfo(const MIDIPortInfo& info);
23 ~MIDIPortInfo();
24
25 void Print() const;
26
27 std::string id_;
scherkus (not reviewing) 2013/06/13 02:05:41 public struct members can leave off the trailing _
Chris Rogers 2013/06/14 00:47:33 Done.
28 std::string manufacturer_;
29 std::string name_;
30 std::string version_;
31 };
32
33 typedef std::vector<MIDIPortInfo> MIDIPortInfoList;
34
35 } // namespace media
36
37 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698