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

Unified Diff: media/midi/midi_manager_usb.h

Issue 1052983002: Web MIDI: add MidiScheduler for send() with timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final Created 5 years, 9 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 | « media/media.gyp ('k') | media/midi/midi_manager_usb.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_usb.h
diff --git a/media/midi/midi_manager_usb.h b/media/midi/midi_manager_usb.h
index ea9b5890e595dc7d005e02fb763fcfacaf98673a..417aac57910f9b7dbc910ed148ff3d19b785e1e0 100644
--- a/media/midi/midi_manager_usb.h
+++ b/media/midi/midi_manager_usb.h
@@ -23,6 +23,8 @@
namespace media {
+class MidiScheduler;
+
// MidiManager for USB-MIDI.
class MEDIA_EXPORT MidiManagerUsb : public MidiManager,
public UsbMidiDeviceDelegate,
@@ -81,6 +83,8 @@ class MEDIA_EXPORT MidiManagerUsb : public MidiManager,
// A map from <endpoint_number, cable_number> to the index of input jacks.
base::hash_map<std::pair<int, int>, size_t> input_jack_dictionary_;
+ scoped_ptr<MidiScheduler> scheduler_;
+
DISALLOW_COPY_AND_ASSIGN(MidiManagerUsb);
};
« no previous file with comments | « media/media.gyp ('k') | media/midi/midi_manager_usb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698