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

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: use int64 in ParamTraits 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_;
28 std::string manufacturer_;
29 std::string name_;
30 std::string version_;
31 };
32
33 // Would rather use typedef, but seems hard to forward declare.
scherkus (not reviewing) 2013/06/12 01:28:47 are you trying to avoid including this .h in multi
Chris Rogers 2013/06/12 20:34:35 I think I was trying to avoid including it in "med
34 class MIDIPortInfoList : public std::vector<MIDIPortInfo> {
35 };
36
37 } // namespace media
38
39 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698