OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_MIDI_MANAGER_MAC_H_ | 5 #ifndef MEDIA_MIDI_MIDI_MANAGER_MAC_H_ |
6 #define MEDIA_MIDI_MIDI_MANAGER_MAC_H_ | 6 #define MEDIA_MIDI_MIDI_MANAGER_MAC_H_ |
7 | 7 |
8 #include <CoreMIDI/MIDIServices.h> | 8 #include <CoreMIDI/MIDIServices.h> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" |
15 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
16 #include "media/midi/midi_export.h" | 17 #include "media/midi/midi_export.h" |
17 #include "media/midi/midi_manager.h" | 18 #include "media/midi/midi_manager.h" |
18 #include "media/midi/midi_port_info.h" | 19 #include "media/midi/midi_port_info.h" |
19 | 20 |
20 namespace media { | 21 namespace media { |
21 namespace midi { | 22 namespace midi { |
22 | 23 |
23 class MIDI_EXPORT MidiManagerMac final : public MidiManager { | 24 class MIDI_EXPORT MidiManagerMac final : public MidiManager { |
24 public: | 25 public: |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Sets true on destructing object to avoid starting |client_thread_| again. | 85 // Sets true on destructing object to avoid starting |client_thread_| again. |
85 bool shutdown_; | 86 bool shutdown_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(MidiManagerMac); | 88 DISALLOW_COPY_AND_ASSIGN(MidiManagerMac); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace midi | 91 } // namespace midi |
91 } // namespace media | 92 } // namespace media |
92 | 93 |
93 #endif // MEDIA_MIDI_MIDI_MANAGER_MAC_H_ | 94 #endif // MEDIA_MIDI_MIDI_MANAGER_MAC_H_ |
OLD | NEW |