Index: media/midi/midi_manager.h |
diff --git a/media/midi/midi_manager.h b/media/midi/midi_manager.h |
index a7c5262d8fd9f8c79dc45d0b61b99bf3e54f96e9..423093f969695012b8f739fc1bdaccc954d1eab3 100644 |
--- a/media/midi/midi_manager.h |
+++ b/media/midi/midi_manager.h |
@@ -86,6 +86,10 @@ class MEDIA_EXPORT MidiManager { |
// A client calls EndSession() to stop receiving MIDI data. |
void EndSession(MidiManagerClient* client); |
+ // Invoke AccumulateMidiBytesSent() for |client| safely. If the session was |
+ // already close, do nothing. |
yhirano
2015/04/07 12:06:33
closed?
Takashi Toyoshima
2015/04/07 12:50:48
Done.
|
+ void AccumulateMidiBytesSent(MidiManagerClient* client, size_t n); |
+ |
// DispatchSendMidiData() is called when MIDI data should be sent to the MIDI |
// system. |
// This method is supposed to return immediately and should not block. |