OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_MIDI_USB_MIDI_INPUT_STREAM_H_ | 5 #ifndef MEDIA_MIDI_USB_MIDI_INPUT_STREAM_H_ |
6 #define MEDIA_MIDI_USB_MIDI_INPUT_STREAM_H_ | 6 #define MEDIA_MIDI_USB_MIDI_INPUT_STREAM_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "base/macros.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "media/midi/usb_midi_export.h" | 14 #include "media/midi/usb_midi_export.h" |
14 #include "media/midi/usb_midi_jack.h" | 15 #include "media/midi/usb_midi_jack.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 namespace midi { | 18 namespace midi { |
18 | 19 |
19 class UsbMidiDevice; | 20 class UsbMidiDevice; |
20 | 21 |
21 // UsbMidiInputStream converts USB-MIDI data to MIDI data. | 22 // UsbMidiInputStream converts USB-MIDI data to MIDI data. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // Not owned | 79 // Not owned |
79 Delegate* delegate_; | 80 Delegate* delegate_; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(UsbMidiInputStream); | 82 DISALLOW_COPY_AND_ASSIGN(UsbMidiInputStream); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace midi | 85 } // namespace midi |
85 } // namespace media | 86 } // namespace media |
86 | 87 |
87 #endif // MEDIA_MIDI_USB_MIDI_INPUT_STREAM_H_ | 88 #endif // MEDIA_MIDI_USB_MIDI_INPUT_STREAM_H_ |
OLD | NEW |