Chromium Code Reviews| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 | 153 |
| 154 // A boolean pref that indicates whether the device has been disabled by its | 154 // 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 | 155 // owner. If so, the device will show a warning screen and will not allow any |
| 156 // sessions to be started. | 156 // sessions to be started. |
| 157 const char kDeviceDisabled[] = "cros.device_disabled"; | 157 const char kDeviceDisabled[] = "cros.device_disabled"; |
| 158 | 158 |
| 159 // A string pref containing the message that should be shown to the user when | 159 // A string pref containing the message that should be shown to the user when |
| 160 // the device is disabled. | 160 // the device is disabled. |
| 161 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; | 161 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; |
| 162 | 162 |
| 163 // A boolean pref that indicates whether the user is allowed to shut down the | |
| 164 // device. If set to false, all shutdown buttons in the UI will be replaced by | |
| 165 // reboot buttons. | |
| 166 const char kShutdownAllowed[] = "cros.device.shutdown_allowed"; | |
|
stevenjb
2014/12/05 20:30:48
nit: "ShutdownAllowed" implies that we disable shu
cschuet (SLOW)
2014/12/08 14:37:43
Acknowledged.
| |
| 167 | |
| 163 } // namespace chromeos | 168 } // namespace chromeos |
| OLD | NEW |