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 #include "chromeos/audio/cras_audio_handler.h" | 5 #include "chromeos/audio/cras_audio_handler.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 #include <cmath> | 11 #include <cmath> |
9 | 12 |
10 #include "base/bind.h" | 13 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
12 #include "base/logging.h" | 15 #include "base/logging.h" |
13 #include "chromeos/audio/audio_devices_pref_handler.h" | 16 #include "chromeos/audio/audio_devices_pref_handler.h" |
14 #include "chromeos/audio/audio_devices_pref_handler_stub.h" | 17 #include "chromeos/audio/audio_devices_pref_handler_stub.h" |
15 #include "chromeos/dbus/dbus_thread_manager.h" | 18 #include "chromeos/dbus/dbus_thread_manager.h" |
16 | 19 |
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 hdmi_rediscover_grace_period_duration_in_ms_), | 1043 hdmi_rediscover_grace_period_duration_in_ms_), |
1041 this, &CrasAudioHandler::UpdateAudioAfterHDMIRediscoverGracePeriod); | 1044 this, &CrasAudioHandler::UpdateAudioAfterHDMIRediscoverGracePeriod); |
1042 } | 1045 } |
1043 | 1046 |
1044 void CrasAudioHandler::SetHDMIRediscoverGracePeriodForTesting( | 1047 void CrasAudioHandler::SetHDMIRediscoverGracePeriodForTesting( |
1045 int duration_in_ms) { | 1048 int duration_in_ms) { |
1046 hdmi_rediscover_grace_period_duration_in_ms_ = duration_in_ms; | 1049 hdmi_rediscover_grace_period_duration_in_ms_ = duration_in_ms; |
1047 } | 1050 } |
1048 | 1051 |
1049 } // namespace chromeos | 1052 } // namespace chromeos |
OLD | NEW |