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

Unified Diff: media/midi/usb_midi_input_stream.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/usb_midi_input_stream.h
diff --git a/media/midi/usb_midi_input_stream.h b/media/midi/usb_midi_input_stream.h
index 8fb732e8017b47442681a5c54aefa129e597e2bd..201ee17c4f4642e7bbc1eb432f22e27fb11de1d5 100644
--- a/media/midi/usb_midi_input_stream.h
+++ b/media/midi/usb_midi_input_stream.h
@@ -8,7 +8,6 @@
#include <map>
#include <vector>
-#include "base/basictypes.h"
#include "base/containers/hash_tables.h"
#include "base/time/time.h"
#include "media/midi/usb_midi_export.h"
@@ -30,7 +29,7 @@ class USB_MIDI_EXPORT UsbMidiInputStream {
// This function is called when some data arrives to a USB-MIDI jack.
// An input USB-MIDI jack corresponds to an input MIDIPortInfo.
virtual void OnReceivedData(size_t jack_index,
- const uint8* data,
+ const uint8_t* data,
size_t size,
base::TimeTicks time) = 0;
};
@@ -57,7 +56,7 @@ class USB_MIDI_EXPORT UsbMidiInputStream {
// |size| must be a multiple of |kPacketSize|.
void OnReceivedData(UsbMidiDevice* device,
int endpoint_number,
- const uint8* data,
+ const uint8_t* data,
size_t size,
base::TimeTicks time);
@@ -69,7 +68,7 @@ class USB_MIDI_EXPORT UsbMidiInputStream {
// The first |kPacketSize| bytes of |packet| must be accessible.
void ProcessOnePacket(UsbMidiDevice* device,
int endpoint_number,
- const uint8* packet,
+ const uint8_t* packet,
base::TimeTicks time);
std::vector<UsbMidiJack> jacks_;

Powered by Google App Engine
This is Rietveld 408576698