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

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

Issue 783963002: Tray message changed for child accounts. Warning bubble removed for child accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inline temporarily removed. 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
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | chrome/app/chromeos_strings.grdp » ('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 228865b388c2757e1dab99596e0d8d72b241e164..b840e48fc80ec9562a749852738157a65834f194 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -137,9 +137,15 @@ 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.
+ // Returns true if the current user is supervised: has legacy supervised
+ // account or kid account.
virtual bool IsUserSupervised() const = 0;
+ // Returns true if the current user is child.
+ // TODO(merkulova): remove on FakeUserManager componentization.
+ // crbug.com/443119
+ virtual bool IsUserChild() const = 0;
+
// Fills |info| structure with current update info.
virtual void GetSystemUpdateInfo(UpdateInfo* info) const = 0;
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698