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

Unified Diff: media/midi/midi_message_util.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 side-by-side diff with in-line comments
Download patch
Index: media/midi/midi_message_util.h
diff --git a/media/midi/midi_message_util.h b/media/midi/midi_message_util.h
index 851b65c98457541f74864f948338bc7e8da0abbe..a2fc31743e4894a70d18b2b694d9af22b5834392 100644
--- a/media/midi/midi_message_util.h
+++ b/media/midi/midi_message_util.h
@@ -5,10 +5,12 @@
#ifndef MEDIA_MIDI_MIDI_MESSAGE_UTIL_H_
#define MEDIA_MIDI_MIDI_MESSAGE_UTIL_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <deque>
#include <vector>
-#include "base/basictypes.h"
#include "media/midi/midi_export.h"
namespace media {
@@ -20,15 +22,15 @@ namespace midi {
// - MIDI System Exclusive message.
// - End of System Exclusive message.
// - Reserved System Common Message (0xf4, 0xf5)
-MIDI_EXPORT size_t GetMidiMessageLength(uint8 status_byte);
+MIDI_EXPORT size_t GetMidiMessageLength(uint8_t status_byte);
-const uint8 kSysExByte = 0xf0;
-const uint8 kEndOfSysExByte = 0xf7;
+const uint8_t kSysExByte = 0xf0;
+const uint8_t kEndOfSysExByte = 0xf7;
-const uint8 kSysMessageBitMask = 0xf0;
-const uint8 kSysMessageBitPattern = 0xf0;
-const uint8 kSysRTMessageBitMask = 0xf8;
-const uint8 kSysRTMessageBitPattern = 0xf8;
+const uint8_t kSysMessageBitMask = 0xf0;
+const uint8_t kSysMessageBitPattern = 0xf0;
+const uint8_t kSysRTMessageBitMask = 0xf8;
+const uint8_t kSysRTMessageBitPattern = 0xf8;
} // namespace midi
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698