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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 561713002: ash: Add checks for supervised users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Default flag value set in user class constructor. Created 6 years, 3 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/tray/default_system_tray_delegate.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index de86112dbd72e4aacdeeb00360819e7acaee1478..f235fb2e3d3f911ddf5efa9f4b0a26fba7109f95 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -119,6 +119,9 @@ class ASH_EXPORT SystemTrayDelegate {
// Returns the notification for supervised users.
virtual const base::string16 GetSupervisedUserMessage() const = 0;
+ // Returns true if the current user is supervised.
+ virtual bool IsUserSupervised() const = 0;
+
// Returns whether a system upgrade is available.
virtual bool SystemShouldUpgrade() const = 0;
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698