OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SCHEDULER_H_ | 5 #ifndef MEDIA_MIDI_MIDI_SCHEDULER_H_ |
6 #define MEDIA_MIDI_MIDI_SCHEDULER_H_ | 6 #define MEDIA_MIDI_MIDI_SCHEDULER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "media/midi/midi_export.h" | 13 #include "media/midi/midi_export.h" |
12 | 14 |
13 namespace media { | 15 namespace media { |
14 namespace midi { | 16 namespace midi { |
15 | 17 |
16 class MidiManager; | 18 class MidiManager; |
17 class MidiManagerClient; | 19 class MidiManagerClient; |
(...skipping 21 matching lines...) Expand all Loading... |
39 MidiManager* manager_; | 41 MidiManager* manager_; |
40 base::WeakPtrFactory<MidiScheduler> weak_factory_; | 42 base::WeakPtrFactory<MidiScheduler> weak_factory_; |
41 | 43 |
42 DISALLOW_COPY_AND_ASSIGN(MidiScheduler); | 44 DISALLOW_COPY_AND_ASSIGN(MidiScheduler); |
43 }; | 45 }; |
44 | 46 |
45 } // namespace midi | 47 } // namespace midi |
46 } // namespace media | 48 } // namespace media |
47 | 49 |
48 #endif // MEDIA_MIDI_MIDI_SCHEDULER_H_ | 50 #endif // MEDIA_MIDI_MIDI_SCHEDULER_H_ |
OLD | NEW |