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

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: reduced scope of CL (ash only now, removed webui changes) Created 5 years, 11 months 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 e56f6424792f39b1fc15caa7b95c8e535cce7d64..1c1147f4622b12f592729052cad58a8e79c1542b 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -155,9 +155,6 @@ void DefaultSystemTrayDelegate::ShowSupervisedUserInfo() {
void DefaultSystemTrayDelegate::ShowUserLogin() {
}
-void DefaultSystemTrayDelegate::ShutDown() {
-}
-
void DefaultSystemTrayDelegate::SignOut() {
}
@@ -272,4 +269,16 @@ void DefaultSystemTrayDelegate::RemoveCustodianInfoTrayObserver(
CustodianInfoTrayObserver* observer) {
}
+void DefaultSystemTrayDelegate::AddShutdownPolicyObserver(
+ ShutdownPolicyObserver* observer) {
+}
+
+void DefaultSystemTrayDelegate::RemoveShutdownPolicyObserver(
+ ShutdownPolicyObserver* observer) {
+}
+
+void DefaultSystemTrayDelegate::ShouldRebootOnShutdown(
+ const RebootOnShutdownCallback& callback) {
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698