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

Unified Diff: media/midi/midi_message_util_unittest.cc

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_unittest.cc
diff --git a/media/midi/midi_message_util_unittest.cc b/media/midi/midi_message_util_unittest.cc
index cb284af9be13f9e337a777d19e180fb5f73e0e4a..666687fb713da25fa0ca01b815c4d1d5f061a410 100644
--- a/media/midi/midi_message_util_unittest.cc
+++ b/media/midi/midi_message_util_unittest.cc
@@ -4,19 +4,20 @@
#include "media/midi/midi_message_util.h"
+#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace midi {
namespace {
-const uint8 kGMOn[] = { 0xf0, 0x7e, 0x7f, 0x09, 0x01, 0xf7 };
-const uint8 kNoteOn[] = { 0x90, 0x3c, 0x7f };
-const uint8 kSystemCommonMessageReserved1[] = { 0xf4 };
-const uint8 kSystemCommonMessageReserved2[] = { 0xf5 };
-const uint8 kSystemCommonMessageTuneRequest[] = { 0xf6 };
-const uint8 kChannelPressure[] = { 0xd0, 0x01 };
-const uint8 kTimingClock[] = { 0xf8 };
+const uint8_t kGMOn[] = {0xf0, 0x7e, 0x7f, 0x09, 0x01, 0xf7};
+const uint8_t kNoteOn[] = {0x90, 0x3c, 0x7f};
+const uint8_t kSystemCommonMessageReserved1[] = {0xf4};
+const uint8_t kSystemCommonMessageReserved2[] = {0xf5};
+const uint8_t kSystemCommonMessageTuneRequest[] = {0xf6};
+const uint8_t kChannelPressure[] = {0xd0, 0x01};
+const uint8_t kTimingClock[] = {0xf8};
TEST(MidiMessageUtilTest, GetMidiMessageLength) {
// Check basic functionarity

Powered by Google App Engine
This is Rietveld 408576698