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

Unified Diff: content/common/media/midi_messages.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 #12 (for submmit) 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
« no previous file with comments | « content/browser/renderer_host/media/midi_host.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/midi_messages.h
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h
index 86e5c16d690244aa3dcafd82ddf23695d1524e3d..bff0241fe4fd6dd653d9d9bc458a0d5e80000aab 100644
--- a/content/common/media/midi_messages.h
+++ b/content/common/media/midi_messages.h
@@ -43,7 +43,7 @@ IPC_MESSAGE_CONTROL1(MIDIHostMsg_StartSession,
int /* client id */)
IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData,
- int /* port */,
+ uint32 /* port */,
std::vector<uint8> /* data */,
double /* timestamp */)
@@ -56,9 +56,9 @@ IPC_MESSAGE_CONTROL4(MIDIMsg_SessionStarted,
media::MIDIPortInfoList /* output ports */)
IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived,
- int /* port */,
+ uint32 /* port */,
std::vector<uint8> /* data */,
double /* timestamp */)
IPC_MESSAGE_CONTROL1(MIDIMsg_AcknowledgeSentData,
- size_t /* bytes sent */)
+ uint32 /* bytes sent */)
« no previous file with comments | « content/browser/renderer_host/media/midi_host.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698