// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_MIDI_USB_MIDI_DESCRIPTOR_PARSER_H_ #define MEDIA_MIDI_USB_MIDI_DESCRIPTOR_PARSER_H_ #include <stddef.h> #include <stdint.h> #include <string> #include <vector> #include "media/midi/usb_midi_export.h" #include "media/midi/usb_midi_jack.h" namespace midi { class UsbMidiDevice; // UsbMidiDescriptorParser parses USB descriptors and // generates input / output lists of MIDIPortInfo. // This is not a generic USB descriptor parser: this parser is designed // for collecting USB-MIDI jacks information from the descriptor. class USB_MIDI_EXPORT UsbMidiDescriptorParser { … }; } // namespace midi #endif // MEDIA_MIDI_USB_MIDI_DESCRIPTOR_PARSER_H_