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

Side by Side Diff: media/midi/midi_manager_mac.h

Issue 1121363002: GN Windows component build fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@component2
Patch Set: . Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « media/midi/midi_manager_alsa.h ('k') | media/midi/midi_manager_usb.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.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 22
22 class MEDIA_EXPORT MidiManagerMac final : public MidiManager { 23 class MIDI_EXPORT MidiManagerMac final : public MidiManager {
23 public: 24 public:
24 MidiManagerMac(); 25 MidiManagerMac();
25 ~MidiManagerMac() override; 26 ~MidiManagerMac() override;
26 27
27 // MidiManager implementation. 28 // MidiManager implementation.
28 void StartInitialization() override; 29 void StartInitialization() override;
29 void DispatchSendMidiData(MidiManagerClient* client, 30 void DispatchSendMidiData(MidiManagerClient* client,
30 uint32 port_index, 31 uint32 port_index,
31 const std::vector<uint8>& data, 32 const std::vector<uint8>& data,
32 double timestamp) override; 33 double timestamp) override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 82
82 // Sets true on destructing object to avoid starting |client_thread_| again. 83 // Sets true on destructing object to avoid starting |client_thread_| again.
83 bool shutdown_; 84 bool shutdown_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(MidiManagerMac); 86 DISALLOW_COPY_AND_ASSIGN(MidiManagerMac);
86 }; 87 };
87 88
88 } // namespace media 89 } // namespace media
89 90
90 #endif // MEDIA_MIDI_MIDI_MANAGER_MAC_H_ 91 #endif // MEDIA_MIDI_MIDI_MANAGER_MAC_H_
OLDNEW
« no previous file with comments | « media/midi/midi_manager_alsa.h ('k') | media/midi/midi_manager_usb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698