Roll src/third_party/skia c877a71:fa77eb1
[chromium-blink-merge.git] / chromeos / chromeos_pref_names.cc
blobe4c69fa2502be63357acf2fd2311f5a460aac6d4
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
3 // found in the LICENSE file.
5 #include "chromeos/chromeos_pref_names.h"
7 namespace chromeos {
8 namespace prefs {
10 // A dictionary pref to hold the mute setting for all the currently known
11 // audio devices.
12 const char kAudioDevicesMute[] = "settings.audio.devices.mute";
14 // A dictionary pref storing the volume settings for all the currently known
15 // audio devices.
16 const char kAudioDevicesVolumePercent[] =
17 "settings.audio.devices.volume_percent";
19 // An integer pref to initially mute volume if 1. This pref is ignored if
20 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore
21 // when the policy is lifted the original mute state is restored. This setting
22 // is here only for migration purposes now. It is being replaced by the
23 // |kAudioDevicesMute| setting.
24 const char kAudioMute[] = "settings.audio.mute";
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
28 // it, therefore when the policy is lifted the original mute state is restored.
29 const char kAudioOutputAllowed[] = "hardware.audio_output_enabled";
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
33 // |kAudioDevicesVolumePercent| setting.
34 const char kAudioVolumePercent[] = "settings.audio.volume_percent";
36 } // namespace prefs
37 } // namespace chromeos