Index: content/browser/renderer_host/media/midi_host.h |
diff --git a/content/browser/renderer_host/media/midi_host.h b/content/browser/renderer_host/media/midi_host.h |
index e3b9df1b6bea56f7bc113c223e48c51d18d3974c..01ac2ca252ee8fcc4c80010982e2fb825a5b4ce1 100644 |
--- a/content/browser/renderer_host/media/midi_host.h |
+++ b/content/browser/renderer_host/media/midi_host.h |
@@ -9,6 +9,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/scoped_vector.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_message_filter.h" |
#include "content/public/browser/browser_thread.h" |
@@ -16,6 +17,7 @@ |
namespace media { |
class MIDIManager; |
+class MIDIMessageQueue; |
} |
namespace content { |
@@ -63,6 +65,9 @@ class CONTENT_EXPORT MIDIHost |
// OnSendData() will do nothing. |
media::MIDIManager* const midi_manager_; |
+ // Buffers where data sent from each MIDI input port is stored. |
+ ScopedVector<media::MIDIMessageQueue> received_messages_queues_; |
+ |
// The number of bytes sent to the platform-specific MIDI sending |
// system, but not yet completed. |
size_t sent_bytes_in_flight_; |