[WebMIDI] Add timestamp to received events on Android.
commit35bcdc80b9c4aedba4a7780aa9011510c790e906
authoryhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 May 2014 08:54:41 +0000 (1 08:54 +0000)
committeryhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 May 2014 08:54:41 +0000 (1 08:54 +0000)
tree87a86aaf7143e653638b3a304ee7c0665e10c493
parent449557fe897b5d7a46f76c2398d2ae1d41ca3607
[WebMIDI] Add timestamp to received events on Android.

MIDIMessageEvent has receivedTime property.
With this CL the Android implementation sets the property appropriately.
This CL unifies the timestamp unit conversion code into MidiManager as a refactoring.

BUG=303596

Review URL: https://codereview.chromium.org/256963003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267496 0039d316-1c4b-4281-b951-d872f2087c98
media/midi/midi_manager.h
media/midi/midi_manager_alsa.cc
media/midi/midi_manager_usb.cc
media/midi/midi_manager_usb.h
media/midi/midi_manager_usb_unittest.cc
media/midi/midi_manager_win.cc
media/midi/usb_midi_device.h
media/midi/usb_midi_device_android.cc
media/midi/usb_midi_input_stream.cc
media/midi/usb_midi_input_stream.h
media/midi/usb_midi_input_stream_unittest.cc