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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_common.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: chrome/browser/ui/ash/system_tray_delegate_common.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_common.cc b/chrome/browser/ui/ash/system_tray_delegate_common.cc
index 8674fb05b03effc1a50af8799a95655266085238..266df923a3f279177cfa9a2bfae93a84e788831c 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_common.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_common.cc
@@ -267,6 +267,18 @@ void SystemTrayDelegateCommon::RemoveCustodianInfoTrayObserver(
ash::CustodianInfoTrayObserver* observer) {
}
+void SystemTrayDelegateCommon::AddShutdownPolicyObserver(
+ ash::ShutdownPolicyObserver* observer) {
+}
+
+void SystemTrayDelegateCommon::ShouldRebootOnShutdown(
+ const ash::RebootOnShutdownCallback& callback) {
+}
+
+void SystemTrayDelegateCommon::RemoveShutdownPolicyObserver(
+ ash::ShutdownPolicyObserver* observer) {
+}
+
ash::SystemTrayNotifier* SystemTrayDelegateCommon::GetSystemTrayNotifier() {
return ash::Shell::GetInstance()->system_tray_notifier();
}

Powered by Google App Engine
This is Rietveld 408576698