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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_common.h

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.h
diff --git a/chrome/browser/ui/ash/system_tray_delegate_common.h b/chrome/browser/ui/ash/system_tray_delegate_common.h
index df4a0e76d4ed68aac2d0bd608618849a910a12d5..17a2cfe71a1f6d6732ca6b64dd3629e50fc060a5 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_common.h
+++ b/chrome/browser/ui/ash/system_tray_delegate_common.h
@@ -93,6 +93,12 @@ class SystemTrayDelegateCommon : public ash::SystemTrayDelegate,
ash::CustodianInfoTrayObserver* observer) override;
void RemoveCustodianInfoTrayObserver(
ash::CustodianInfoTrayObserver* observer) override;
+ void AddShutdownPolicyObserver(
+ ash::ShutdownPolicyObserver* observer) override;
+ void ShouldRebootOnShutdown(
+ const ash::RebootOnShutdownCallback& callback) override;
+ void RemoveShutdownPolicyObserver(
+ ash::ShutdownPolicyObserver* observer) override;
private:
ash::SystemTrayNotifier* GetSystemTrayNotifier();

Powered by Google App Engine
This is Rietveld 408576698