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

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

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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
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"
12 #include "media/midi/midi_export.h" 11 #include "media/midi/midi_export.h"
13 12
14 namespace media { 13 namespace media {
15 namespace midi { 14 namespace midi {
16 15
17 enum MidiPortState { 16 enum MidiPortState {
18 MIDI_PORT_DISCONNECTED, 17 MIDI_PORT_DISCONNECTED,
19 MIDI_PORT_CONNECTED, 18 MIDI_PORT_CONNECTED,
20 MIDI_PORT_OPENED, 19 MIDI_PORT_OPENED,
21 MIDI_PORT_STATE_LAST = MIDI_PORT_OPENED, 20 MIDI_PORT_STATE_LAST = MIDI_PORT_OPENED,
(...skipping 16 matching lines...) Expand all
38 std::string version; 37 std::string version;
39 MidiPortState state; 38 MidiPortState state;
40 }; 39 };
41 40
42 using MidiPortInfoList = std::vector<MidiPortInfo>; 41 using MidiPortInfoList = std::vector<MidiPortInfo>;
43 42
44 } // namespace midi 43 } // namespace midi
45 } // namespace media 44 } // namespace media
46 45
47 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_ 46 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698