OLD | NEW |
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 CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 5 #ifndef CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
6 #define CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 6 #define CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 #include <queue> | 10 #include <queue> |
10 | 11 |
| 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
14 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
15 #include "chromeos/audio/audio_device.h" | 17 #include "chromeos/audio/audio_device.h" |
16 #include "chromeos/audio/audio_pref_observer.h" | 18 #include "chromeos/audio/audio_pref_observer.h" |
17 #include "chromeos/dbus/audio_node.h" | 19 #include "chromeos/dbus/audio_node.h" |
18 #include "chromeos/dbus/cras_audio_client.h" | 20 #include "chromeos/dbus/cras_audio_client.h" |
19 #include "chromeos/dbus/session_manager_client.h" | 21 #include "chromeos/dbus/session_manager_client.h" |
20 #include "chromeos/dbus/volume_state.h" | 22 #include "chromeos/dbus/volume_state.h" |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 bool hdmi_rediscovering_; | 363 bool hdmi_rediscovering_; |
362 | 364 |
363 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; | 365 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; |
364 | 366 |
365 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler); | 367 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler); |
366 }; | 368 }; |
367 | 369 |
368 } // namespace chromeos | 370 } // namespace chromeos |
369 | 371 |
370 #endif // CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 372 #endif // CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
OLD | NEW |