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

Unified Diff: ash/system/tray/default_system_tray_delegate.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
« no previous file with comments | « ash/system/date/date_default_view.cc ('k') | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/default_system_tray_delegate.h
diff --git a/ash/system/tray/default_system_tray_delegate.h b/ash/system/tray/default_system_tray_delegate.h
index fede740d001a88eaf9cfbb84220c330b6657b750..041763f7ae9993626116de5dc965f7677b5b36ed 100644
--- a/ash/system/tray/default_system_tray_delegate.h
+++ b/ash/system/tray/default_system_tray_delegate.h
@@ -83,6 +83,10 @@ class ASH_EXPORT DefaultSystemTrayDelegate : public SystemTrayDelegate {
CustodianInfoTrayObserver* observer) override;
void RemoveCustodianInfoTrayObserver(
CustodianInfoTrayObserver* observer) override;
+ void AddShutdownPolicyObserver(ShutdownPolicyObserver* observer) override;
+ void RemoveShutdownPolicyObserver(ShutdownPolicyObserver* observer) override;
+ void ShouldRebootOnShutdown(
+ const RebootOnShutdownCallback& callback) override;
private:
bool bluetooth_enabled_;
« no previous file with comments | « ash/system/date/date_default_view.cc ('k') | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698