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 #include "chromeos/chromeos_pref_names.h" | 5 #include "chromeos/chromeos_pref_names.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
10 // A dictionary pref to hold the mute setting for all the currently known | 10 // A dictionary pref to hold the mute setting for all the currently known |
(...skipping 15 matching lines...) Expand all Loading... |
26 // A pref holding the value of the policy used to disable playing audio on | 26 // A pref holding the value of the policy used to disable playing audio on |
27 // ChromeOS devices. This pref overrides |kAudioMute| but does not overwrite | 27 // ChromeOS devices. This pref overrides |kAudioMute| but does not overwrite |
28 // it, therefore when the policy is lifted the original mute state is restored. | 28 // it, therefore when the policy is lifted the original mute state is restored. |
29 const char kAudioOutputAllowed[] = "hardware.audio_output_enabled"; | 29 const char kAudioOutputAllowed[] = "hardware.audio_output_enabled"; |
30 | 30 |
31 // A double pref storing the user-requested volume. This setting is here only | 31 // A double pref storing the user-requested volume. This setting is here only |
32 // for migration purposes now. It is being replaced by the | 32 // for migration purposes now. It is being replaced by the |
33 // |kAudioDevicesVolumePercent| setting. | 33 // |kAudioDevicesVolumePercent| setting. |
34 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; | 34 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; |
35 | 35 |
| 36 // A dictionary pref that maps stable device id string to |AudioDeviceState|. |
| 37 // Different state values indicate whether or not a device has been selected |
| 38 // as the active one for audio I/O, or it's a new plugged device. |
| 39 const char kAudioDevicesState[] = "settings.audio.device_state"; |
| 40 |
36 } // namespace prefs | 41 } // namespace prefs |
37 } // namespace chromeos | 42 } // namespace chromeos |
38 | 43 |
OLD | NEW |