| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // Determines whether the device reports network interface types and addresses | 89 // Determines whether the device reports network interface types and addresses |
| 90 // in device status reports to the device management server. | 90 // in device status reports to the device management server. |
| 91 const char kReportDeviceNetworkInterfaces[] = | 91 const char kReportDeviceNetworkInterfaces[] = |
| 92 "cros.device_status.report_network_interfaces"; | 92 "cros.device_status.report_network_interfaces"; |
| 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 // A list of dictionaries, each detailing one extension to install as part of | |
| 99 // the AppPack and including the following fields: | |
| 100 // "extension-id": ID of the extension to install | |
| 101 // "update-url": URL to check the extension's version and download location | |
| 102 // "key-checksum": checksum of the extension's CRX public key, encoded in hex. | |
| 103 const char kAppPack[] = "cros.app_pack"; | |
| 104 const char kAppPackKeyExtensionId[] = "extension-id"; | |
| 105 const char kAppPackKeyUpdateUrl[] = "update-url"; | |
| 106 | |
| 107 // Values from the ScreenSaver proto. Defines the extension ID of the screen | |
| 108 // saver extension and the timeout before the screen saver should be started. | |
| 109 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id"; | |
| 110 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout"; | |
| 111 | |
| 112 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a | |
| 113 // user is logged out after some period of inactivity as well as the duration of | |
| 114 // a warning message informing the user about the pending logout. | |
| 115 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout"; | |
| 116 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration"; | |
| 117 | |
| 118 // Defines the set of URLs to be opened on login to the anonymous account used | |
| 119 // if the device is in KIOSK mode. | |
| 120 const char kStartUpUrls[] = "cros.start_up_urls"; | |
| 121 | |
| 122 // This policy should not appear in the protobuf ever but is used internally to | 98 // This policy should not appear in the protobuf ever but is used internally to |
| 123 // signal that we are running in a "safe-mode" for policy recovery. | 99 // signal that we are running in a "safe-mode" for policy recovery. |
| 124 const char kPolicyMissingMitigationMode[] = | 100 const char kPolicyMissingMitigationMode[] = |
| 125 "cros.internal.policy_mitigation_mode"; | 101 "cros.internal.policy_mitigation_mode"; |
| 126 | 102 |
| 127 // A boolean pref that indicates whether users are allowed to redeem offers | 103 // A boolean pref that indicates whether users are allowed to redeem offers |
| 128 // through Chrome OS Registration. | 104 // through Chrome OS Registration. |
| 129 const char kAllowRedeemChromeOsRegistrationOffers[] = | 105 const char kAllowRedeemChromeOsRegistrationOffers[] = |
| 130 "cros.echo.allow_redeem_chrome_os_registration_offers"; | 106 "cros.echo.allow_redeem_chrome_os_registration_offers"; |
| 131 | 107 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 154 // A boolean pref that indicates whether the device has been disabled by its | 130 // A boolean pref that indicates whether the device has been disabled by its |
| 155 // owner. If so, the device will show a warning screen and will not allow any | 131 // owner. If so, the device will show a warning screen and will not allow any |
| 156 // sessions to be started. | 132 // sessions to be started. |
| 157 const char kDeviceDisabled[] = "cros.device_disabled"; | 133 const char kDeviceDisabled[] = "cros.device_disabled"; |
| 158 | 134 |
| 159 // A string pref containing the message that should be shown to the user when | 135 // A string pref containing the message that should be shown to the user when |
| 160 // the device is disabled. | 136 // the device is disabled. |
| 161 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; | 137 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; |
| 162 | 138 |
| 163 } // namespace chromeos | 139 } // namespace chromeos |
| OLD | NEW |