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

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

Issue 2404443002: Web MIDI: use midi_service.mojom for media::midi::Result (Closed)
Patch Set: fix layout test Created 4 years, 2 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
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_H_ 5 #ifndef MEDIA_MIDI_MIDI_MANAGER_H_
6 #define MEDIA_MIDI_MIDI_MANAGER_H_ 6 #define MEDIA_MIDI_MIDI_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <set> 11 #include <set>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "media/midi/midi_export.h" 18 #include "media/midi/midi_export.h"
19 #include "media/midi/midi_port_info.h" 19 #include "media/midi/midi_port_info.h"
20 #include "media/midi/result.h" 20 #include "media/midi/midi_service.mojom.h"
21 21
22 namespace base { 22 namespace base {
23 class SingleThreadTaskRunner; 23 class SingleThreadTaskRunner;
24 } // namespace base 24 } // namespace base
25 25
26 namespace media { 26 namespace media {
27 namespace midi { 27 namespace midi {
28 28
29 // A MidiManagerClient registers with the MidiManager to receive MIDI data. 29 // A MidiManagerClient registers with the MidiManager to receive MIDI data.
30 // See MidiManager::RequestAccess() and MidiManager::ReleaseAccess() 30 // See MidiManager::RequestAccess() and MidiManager::ReleaseAccess()
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // |input_ports_| and |output_ports_|. 206 // |input_ports_| and |output_ports_|.
207 base::Lock lock_; 207 base::Lock lock_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(MidiManager); 209 DISALLOW_COPY_AND_ASSIGN(MidiManager);
210 }; 210 };
211 211
212 } // namespace midi 212 } // namespace midi
213 } // namespace media 213 } // namespace media
214 214
215 #endif // MEDIA_MIDI_MIDI_MANAGER_H_ 215 #endif // MEDIA_MIDI_MIDI_MANAGER_H_
OLDNEW
« no previous file with comments | « media/midi/OWNERS ('k') | media/midi/midi_service.mojom » ('j') | media/midi/midi_service.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698