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

Unified Diff: ash/system/tray/default_system_tray_delegate.cc

Issue 811033002: Add device policy to disallow shutdown - ash UI modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shutdown_allowed => reboot_on_shutdown 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/tray/default_system_tray_delegate.cc
diff --git a/ash/system/tray/default_system_tray_delegate.cc b/ash/system/tray/default_system_tray_delegate.cc
index 2d4f3856d8216a5362025de9e5c6295fbe9bab96..516d85c7e491da824335c37dcb72a306b96d1b91 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -151,6 +151,9 @@ void DefaultSystemTrayDelegate::ShowSupervisedUserInfo() {
void DefaultSystemTrayDelegate::ShowUserLogin() {
}
+void DefaultSystemTrayDelegate::Restart() {
+}
+
void DefaultSystemTrayDelegate::ShutDown() {
}
@@ -268,4 +271,16 @@ void DefaultSystemTrayDelegate::RemoveCustodianInfoTrayObserver(
CustodianInfoTrayObserver* observer) {
}
+void DefaultSystemTrayDelegate::AddShutdownPolicyObserver(
+ ShutdownPolicyObserver* observer) {
+}
+
+void DefaultSystemTrayDelegate::ShouldRebootOnShutdown(
+ const RebootOnShutdownCallback& callback) {
+}
+
+void DefaultSystemTrayDelegate::RemoveShutdownPolicyObserver(
+ ShutdownPolicyObserver* observer) {
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698