| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 | 487 |
| 488 // An integer representing the state of the default apps installation process. | 488 // An integer representing the state of the default apps installation process. |
| 489 // This value is persisted in the profile's user preferences because the process | 489 // This value is persisted in the profile's user preferences because the process |
| 490 // is async, and the user may have stopped chrome in the middle. The next time | 490 // is async, and the user may have stopped chrome in the middle. The next time |
| 491 // the profile is opened, the process will continue from where it left off. | 491 // the profile is opened, the process will continue from where it left off. |
| 492 // | 492 // |
| 493 // See possible values in external_provider_impl.cc. | 493 // See possible values in external_provider_impl.cc. |
| 494 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 494 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
| 495 | 495 |
| 496 #if defined(OS_CHROMEOS) | 496 #if defined(OS_CHROMEOS) |
| 497 // An integer pref to initially mute volume if 1. | 497 // An integer pref to initially mute volume if 1. This pref is ignored if |
| 498 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore |
| 499 // when the policy is lifted the original mute state is restored. |
| 498 const char kAudioMute[] = "settings.audio.mute"; | 500 const char kAudioMute[] = "settings.audio.mute"; |
| 499 | 501 |
| 500 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it | 502 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it |
| 501 // after R20 once we've cleared old user settings: http://crbug.com/112039 | 503 // after R20 once we've cleared old user settings: http://crbug.com/112039 |
| 502 const char kAudioVolumeDb[] = "settings.audio.volume"; | 504 const char kAudioVolumeDb[] = "settings.audio.volume"; |
| 503 | 505 |
| 504 // A double pref storing the user-requested volume. | 506 // A double pref storing the user-requested volume. |
| 505 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; | 507 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; |
| 506 | 508 |
| 507 // A boolean pref set to true if touchpad tap-to-click is enabled. | 509 // A boolean pref set to true if touchpad tap-to-click is enabled. |
| (...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1773 const char kDeviceLocation[] = "device_status.location"; | 1775 const char kDeviceLocation[] = "device_status.location"; |
| 1774 | 1776 |
| 1775 // A string that is used to store first-time sync startup after once sync is | 1777 // A string that is used to store first-time sync startup after once sync is |
| 1776 // disabled. This will be refreshed every sign-in. | 1778 // disabled. This will be refreshed every sign-in. |
| 1777 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; | 1779 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; |
| 1778 | 1780 |
| 1779 // A pref holding the value of the policy used to disable mounting of external | 1781 // A pref holding the value of the policy used to disable mounting of external |
| 1780 // storage for the user. | 1782 // storage for the user. |
| 1781 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled"; | 1783 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled"; |
| 1782 | 1784 |
| 1785 // A pref holding the value of the policy used to disable playing audio on |
| 1786 // ChromeOS devices. This pref overrides |kAudioMute| but does not overwrite |
| 1787 // it, therefore when the policy is lifted the original mute state is restored. |
| 1788 const char kAudioOutputAllowed[] = "hardware.audio_output_enabled"; |
| 1789 |
| 1790 // A pref holding the value of the policy used to disable capturing audio on |
| 1791 // ChromeOS devices. |
| 1792 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; |
| 1793 |
| 1783 // A dictionary that maps usernames to wallpaper properties. | 1794 // A dictionary that maps usernames to wallpaper properties. |
| 1784 const char kUsersWallpaperInfo[] = "user_wallpaper_info"; | 1795 const char kUsersWallpaperInfo[] = "user_wallpaper_info"; |
| 1785 #endif | 1796 #endif |
| 1786 | 1797 |
| 1787 // Whether there is a Flash version installed that supports clearing LSO data. | 1798 // Whether there is a Flash version installed that supports clearing LSO data. |
| 1788 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1799 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
| 1789 | 1800 |
| 1790 // Whether we should show Pepper Flash-specific settings. | 1801 // Whether we should show Pepper Flash-specific settings. |
| 1791 const char kPepperFlashSettingsEnabled[] = | 1802 const char kPepperFlashSettingsEnabled[] = |
| 1792 "browser.pepper_flash_settings_enabled"; | 1803 "browser.pepper_flash_settings_enabled"; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2003 | 2014 |
| 2004 // Counts how many more times the 'profile on a network share' warning should be | 2015 // Counts how many more times the 'profile on a network share' warning should be |
| 2005 // shown to the user before the next silence period. | 2016 // shown to the user before the next silence period. |
| 2006 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2017 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
| 2007 // Tracks the time of the last shown warning. Used to reset | 2018 // Tracks the time of the last shown warning. Used to reset |
| 2008 // |network_profile.warnings_left| after a silence period. | 2019 // |network_profile.warnings_left| after a silence period. |
| 2009 const char kNetworkProfileLastWarningTime[] = | 2020 const char kNetworkProfileLastWarningTime[] = |
| 2010 "network_profile.last_warning_time"; | 2021 "network_profile.last_warning_time"; |
| 2011 | 2022 |
| 2012 } // namespace prefs | 2023 } // namespace prefs |
| OLD | NEW |