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

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: Rebase 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: 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 6888ee35b77c1384cd55cf47cd440a902d72caba..77279789279b658634c694f8de11c4a2d61b37c2 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 RemoveShutdownPolicyObserver(
+ ash::ShutdownPolicyObserver* observer) override;
+ void ShouldRebootOnShutdown(
+ const ash::RebootOnShutdownCallback& callback) override;
private:
ash::SystemTrayNotifier* GetSystemTrayNotifier();
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698