| 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 <map> | 10 #include <map> | 
| 10 #include <vector> | 11 #include <vector> | 
| 11 | 12 | 
| 12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" | 
| 13 #include "base/macros.h" | 14 #include "base/macros.h" | 
| 14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" | 
| 15 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" | 
| 16 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" | 
| 17 #include "base/values.h" | 18 #include "base/values.h" | 
| 18 #include "device/udev_linux/scoped_udev.h" | 19 #include "device/udev_linux/scoped_udev.h" | 
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 426   bool event_thread_shutdown_ = false;  // guarded by shutdown_lock_ | 427   bool event_thread_shutdown_ = false;  // guarded by shutdown_lock_ | 
| 427   base::Lock shutdown_lock_;            // guards event_thread_shutdown_ | 428   base::Lock shutdown_lock_;            // guards event_thread_shutdown_ | 
| 428 | 429 | 
| 429   DISALLOW_COPY_AND_ASSIGN(MidiManagerAlsa); | 430   DISALLOW_COPY_AND_ASSIGN(MidiManagerAlsa); | 
| 430 }; | 431 }; | 
| 431 | 432 | 
| 432 }  // namespace midi | 433 }  // namespace midi | 
| 433 }  // namespace media | 434 }  // namespace media | 
| 434 | 435 | 
| 435 #endif  // MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ | 436 #endif  // MEDIA_MIDI_MIDI_MANAGER_ALSA_H_ | 
| OLD | NEW | 
|---|