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

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: rebase 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
« no previous file with comments | « media/midi/usb_midi_descriptor_parser_unittest.cc ('k') | media/midi/usb_midi_device_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « media/midi/usb_midi_descriptor_parser_unittest.cc ('k') | media/midi/usb_midi_device_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698