| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/settings/cros_settings_names.h" | 5 #include "chromeos/settings/cros_settings_names.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 | 8 |
| 9 const char kCrosSettingsPrefix[] = "cros."; | 9 const char kCrosSettingsPrefix[] = "cros."; |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 93 |
| 94 // Determines whether the device reports recently logged in users in device | 94 // Determines whether the device reports recently logged in users in device |
| 95 // status reports to the device management server. | 95 // status reports to the device management server. |
| 96 const char kReportDeviceUsers[] = "cros.device_status.report_users"; | 96 const char kReportDeviceUsers[] = "cros.device_status.report_users"; |
| 97 | 97 |
| 98 // Determines whether the device reports hardware status (CPU utilization, | 98 // Determines whether the device reports hardware status (CPU utilization, |
| 99 // disk space, etc) in device status reports to the device management server. | 99 // disk space, etc) in device status reports to the device management server. |
| 100 const char kReportDeviceHardwareStatus[] = | 100 const char kReportDeviceHardwareStatus[] = |
| 101 "cros.device_status.report_hardware_status"; | 101 "cros.device_status.report_hardware_status"; |
| 102 | 102 |
| 103 // A list of dictionaries, each detailing one extension to install as part of | |
| 104 // the AppPack and including the following fields: | |
| 105 // "extension-id": ID of the extension to install | |
| 106 // "update-url": URL to check the extension's version and download location | |
| 107 // "key-checksum": checksum of the extension's CRX public key, encoded in hex. | |
| 108 const char kAppPack[] = "cros.app_pack"; | |
| 109 const char kAppPackKeyExtensionId[] = "extension-id"; | |
| 110 const char kAppPackKeyUpdateUrl[] = "update-url"; | |
| 111 | |
| 112 // Values from the ScreenSaver proto. Defines the extension ID of the screen | |
| 113 // saver extension and the timeout before the screen saver should be started. | |
| 114 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id"; | |
| 115 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout"; | |
| 116 | |
| 117 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a | |
| 118 // user is logged out after some period of inactivity as well as the duration of | |
| 119 // a warning message informing the user about the pending logout. | |
| 120 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout"; | |
| 121 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration"; | |
| 122 | |
| 123 // Defines the set of URLs to be opened on login to the anonymous account used | |
| 124 // if the device is in KIOSK mode. | |
| 125 const char kStartUpUrls[] = "cros.start_up_urls"; | |
| 126 | |
| 127 // This policy should not appear in the protobuf ever but is used internally to | 103 // This policy should not appear in the protobuf ever but is used internally to |
| 128 // signal that we are running in a "safe-mode" for policy recovery. | 104 // signal that we are running in a "safe-mode" for policy recovery. |
| 129 const char kPolicyMissingMitigationMode[] = | 105 const char kPolicyMissingMitigationMode[] = |
| 130 "cros.internal.policy_mitigation_mode"; | 106 "cros.internal.policy_mitigation_mode"; |
| 131 | 107 |
| 132 // A boolean pref that indicates whether users are allowed to redeem offers | 108 // A boolean pref that indicates whether users are allowed to redeem offers |
| 133 // through Chrome OS Registration. | 109 // through Chrome OS Registration. |
| 134 const char kAllowRedeemChromeOsRegistrationOffers[] = | 110 const char kAllowRedeemChromeOsRegistrationOffers[] = |
| 135 "cros.echo.allow_redeem_chrome_os_registration_offers"; | 111 "cros.echo.allow_redeem_chrome_os_registration_offers"; |
| 136 | 112 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 164 // A string pref containing the message that should be shown to the user when | 140 // A string pref containing the message that should be shown to the user when |
| 165 // the device is disabled. | 141 // the device is disabled. |
| 166 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; | 142 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; |
| 167 | 143 |
| 168 // A boolean pref that indicates whether the device automatically reboots when | 144 // A boolean pref that indicates whether the device automatically reboots when |
| 169 // the user initiates a shutdown via an UI element. If set to true, all | 145 // the user initiates a shutdown via an UI element. If set to true, all |
| 170 // shutdown buttons in the UI will be replaced by reboot buttons. | 146 // shutdown buttons in the UI will be replaced by reboot buttons. |
| 171 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown"; | 147 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown"; |
| 172 | 148 |
| 173 } // namespace chromeos | 149 } // namespace chromeos |
| OLD | NEW |