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_MIDI_MANAGER_ALSA_H_ | 5 #ifndef MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ |
6 #define MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ | 6 #define MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ |
7 | 7 |
8 #include <alsa/asoundlib.h> | 8 #include <alsa/asoundlib.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <map> | 10 #include <map> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
| 14 #include "base/containers/hash_tables.h" |
14 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
17 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
18 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
19 #include "base/values.h" | 20 #include "base/values.h" |
20 #include "device/udev_linux/scoped_udev.h" | 21 #include "device/udev_linux/scoped_udev.h" |
21 #include "media/midi/midi_export.h" | 22 #include "media/midi/midi_export.h" |
22 #include "media/midi/midi_manager.h" | 23 #include "media/midi/midi_manager.h" |
23 | 24 |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 bool event_thread_shutdown_ = false; // guarded by shutdown_lock_ | 431 bool event_thread_shutdown_ = false; // guarded by shutdown_lock_ |
431 base::Lock shutdown_lock_; // guards event_thread_shutdown_ | 432 base::Lock shutdown_lock_; // guards event_thread_shutdown_ |
432 | 433 |
433 DISALLOW_COPY_AND_ASSIGN(MidiManagerAlsa); | 434 DISALLOW_COPY_AND_ASSIGN(MidiManagerAlsa); |
434 }; | 435 }; |
435 | 436 |
436 } // namespace midi | 437 } // namespace midi |
437 } // namespace media | 438 } // namespace media |
438 | 439 |
439 #endif // MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ | 440 #endif // MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ |
OLD | NEW |