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

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

Issue 151343002: Web MIDI: make naming convention be consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review boliu #2 Created 6 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 | Annotate | Revision Log
« no previous file with comments | « media/midi/midi_message_util_unittest.cc ('k') | media/midi/midi_port_info.cc » ('j') | 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 #ifndef MEDIA_MIDI_MIDI_PORT_INFO_H_ 5 #ifndef MEDIA_MIDI_MIDI_PORT_INFO_H_
6 #define MEDIA_MIDI_MIDI_PORT_INFO_H_ 6 #define MEDIA_MIDI_MIDI_PORT_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 struct MEDIA_EXPORT MIDIPortInfo { 16 struct MEDIA_EXPORT MidiPortInfo {
17 MIDIPortInfo(); 17 MidiPortInfo();
18 MIDIPortInfo(const std::string& in_id, 18 MidiPortInfo(const std::string& in_id,
19 const std::string& in_manufacturer, 19 const std::string& in_manufacturer,
20 const std::string& in_name, 20 const std::string& in_name,
21 const std::string& in_version); 21 const std::string& in_version);
22 22
23 MIDIPortInfo(const MIDIPortInfo& info); 23 MidiPortInfo(const MidiPortInfo& info);
24 ~MIDIPortInfo(); 24 ~MidiPortInfo();
25 25
26 std::string id; 26 std::string id;
27 std::string manufacturer; 27 std::string manufacturer;
28 std::string name; 28 std::string name;
29 std::string version; 29 std::string version;
30 }; 30 };
31 31
32 typedef std::vector<MIDIPortInfo> MIDIPortInfoList; 32 typedef std::vector<MidiPortInfo> MidiPortInfoList;
33 33
34 } // namespace media 34 } // namespace media
35 35
36 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_ 36 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_
OLDNEW
« no previous file with comments | « media/midi/midi_message_util_unittest.cc ('k') | media/midi/midi_port_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698