| 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 <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 // Failures are not logged at startup, since CRAS may not be running yet. | 425 // Failures are not logged at startup, since CRAS may not be running yet. |
| 426 bool log_errors_; | 426 bool log_errors_; |
| 427 | 427 |
| 428 // Timer for HDMI re-discovering grace period. | 428 // Timer for HDMI re-discovering grace period. |
| 429 base::OneShotTimer hdmi_rediscover_timer_; | 429 base::OneShotTimer hdmi_rediscover_timer_; |
| 430 int hdmi_rediscover_grace_period_duration_in_ms_; | 430 int hdmi_rediscover_grace_period_duration_in_ms_; |
| 431 bool hdmi_rediscovering_; | 431 bool hdmi_rediscovering_; |
| 432 | 432 |
| 433 bool cras_service_available_ = false; | 433 bool cras_service_available_ = false; |
| 434 | 434 |
| 435 bool initializing_audio_state_ = false; |
| 436 int init_volume_; |
| 437 uint64_t init_node_id_; |
| 438 |
| 435 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; | 439 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; |
| 436 | 440 |
| 437 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler); | 441 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler); |
| 438 }; | 442 }; |
| 439 | 443 |
| 440 } // namespace chromeos | 444 } // namespace chromeos |
| 441 | 445 |
| 442 #endif // CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 446 #endif // CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
| OLD | NEW |