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

Unified Diff: content/browser/renderer_host/media/midi_host.h

Issue 23379002: Web MIDI: fix multi-threading problem around message buffer handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review #7 and #8 Created 7 years, 4 months 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: 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 f6b2813264e51e0b570d4383702e764e3f394743..32496a2332c10a733a56379cfc548c1372e276ab 100644
--- a/content/browser/renderer_host/media/midi_host.h
+++ b/content/browser/renderer_host/media/midi_host.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_HOST_H_
#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_HOST_H_
+#include <vector>
+
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
@@ -43,7 +45,7 @@ class CONTENT_EXPORT MIDIHost
void OnStartSession(int client_id);
// Data to be sent to a MIDI output port.
- void OnSendData(int port,
+ void OnSendData(uint32 port,
const std::vector<uint8>& data,
double timestamp);
« no previous file with comments | « no previous file | content/browser/renderer_host/media/midi_host.cc » ('j') | content/browser/renderer_host/media/midi_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698