| Index: media/midi/usb_midi_device.h
|
| diff --git a/media/midi/usb_midi_device.h b/media/midi/usb_midi_device.h
|
| index 321661473c26fd1a5f247b26bee6412e5b9b0c03..8128c62bceb2994ae84cea1355c00980038c81a3 100644
|
| --- a/media/midi/usb_midi_device.h
|
| +++ b/media/midi/usb_midi_device.h
|
| @@ -66,8 +66,17 @@ class MEDIA_EXPORT UsbMidiDevice {
|
|
|
| virtual ~UsbMidiDevice() {}
|
|
|
| - // Returns the descriptor of this device.
|
| - virtual std::vector<uint8> GetDescriptor() = 0;
|
| + // Returns the descriptors of this device.
|
| + virtual std::vector<uint8> GetDescriptors() = 0;
|
| +
|
| + // Return the name of the manufacturer.
|
| + virtual std::string GetManufacturer() = 0;
|
| +
|
| + // Retur the name of the device.
|
| + virtual std::string GetProductName() = 0;
|
| +
|
| + // Return the device version.
|
| + virtual std::string GetDeviceVersion() = 0;
|
|
|
| // Sends |data| to the given USB endpoint of this device.
|
| virtual void Send(int endpoint_number, const std::vector<uint8>& data) = 0;
|
|
|