Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: chromeos/settings/cros_settings_names.cc

Issue 776093004: Add device policy to disallow shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 // A boolean pref that indicates whether the device has been disabled by its 159 // A boolean pref that indicates whether the device has been disabled by its
160 // owner. If so, the device will show a warning screen and will not allow any 160 // owner. If so, the device will show a warning screen and will not allow any
161 // sessions to be started. 161 // sessions to be started.
162 const char kDeviceDisabled[] = "cros.device_disabled"; 162 const char kDeviceDisabled[] = "cros.device_disabled";
163 163
164 // A string pref containing the message that should be shown to the user when 164 // A string pref containing the message that should be shown to the user when
165 // the device is disabled. 165 // the device is disabled.
166 const char kDeviceDisabledMessage[] = "cros.disabled_state.message"; 166 const char kDeviceDisabledMessage[] = "cros.disabled_state.message";
167 167
168 // 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
170 // shutdown buttons in the UI will be replaced by reboot buttons.
171 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown";
172
168 } // namespace chromeos 173 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/settings/cros_settings_names.h ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698