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

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: Adressed bartfab's comments 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 device automatically reboots when
164 // the user initiates a shutdown via an UI element. If set to true, all
165 // shutdown buttons in the UI will be replaced by reboot buttons.
166 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown";
167
163 } // namespace chromeos 168 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698