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

Unified Diff: media/midi/usb_midi_device.h

Issue 1098913003: [WebMIDI] [Android] Set appropriate port properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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..6dc572904a3b5318c23bcf9704f002d5c711b3e5 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 in the BCD form.
+ virtual uint16 GetDeviceVersion() = 0;
// Sends |data| to the given USB endpoint of this device.
virtual void Send(int endpoint_number, const std::vector<uint8>& data) = 0;

Powered by Google App Engine
This is Rietveld 408576698