[MIDI][Android] Support device attach event.
commit2fff1004b744b9eb72ecbfbd82c269b3de4172de
authoryhirano <yhirano@chromium.org>
Fri, 27 Feb 2015 01:01:15 +0000 (26 17:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Feb 2015 01:01:56 +0000 (27 01:01 +0000)
treed4b4c985640a2442d75934161af1ee252c168f20
parent780cc4645ee81e7b29e23753b29be1db790e0d1d
[MIDI][Android] Support device attach event.

This CL introduces device attach support for Android Web MIDI.

BUG=460901

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

Cr-Commit-Position: refs/heads/master@{#318364}
media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java
media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java
media/midi/midi_manager_usb.cc
media/midi/midi_manager_usb.h
media/midi/midi_manager_usb_unittest.cc
media/midi/usb_midi_device.h
media/midi/usb_midi_device_factory_android.cc
media/midi/usb_midi_device_factory_android.h
media/midi/usb_midi_input_stream.cc
media/midi/usb_midi_input_stream.h
media/midi/usb_midi_input_stream_unittest.cc