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

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

Issue 2829813002: cros: Move IsUserSupervised and IsUserChild off SystemTrayDelegate (Closed)
Patch Set: review comments Created 3 years, 8 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/tiles/tray_tiles_unittest.cc ('k') | ash/system/tray/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/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 9980cbbb91242186b44b24e088d4878779126fa3..5056e5709ee2905999c95961c4f51a6f08734821 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -69,23 +69,17 @@ class ASH_EXPORT SystemTrayDelegate {
// Returns the display email of the user that manages the current supervised
// user.
+ // TODO(jamescook): Migrate to SessionController. http://crbug.com/712799
virtual std::string GetSupervisedUserManager() const;
// Returns the name of the user that manages the current supervised user.
+ // TODO(jamescook): Migrate to SessionController. http://crbug.com/712799
virtual base::string16 GetSupervisedUserManagerName() const;
// Returns the notification for supervised users.
+ // TODO(jamescook): Migrate to SessionController. http://crbug.com/712799
virtual base::string16 GetSupervisedUserMessage() const;
- // Returns true if the current user is supervised: has legacy supervised
- // account or kid account.
- virtual bool IsUserSupervised() const;
-
- // Returns true if the current user is child.
- // TODO(merkulova): remove on FakeUserManager componentization.
- // crbug.com/443119
- virtual bool IsUserChild() const;
-
// Shows information about enterprise enrolled devices.
virtual void ShowEnterpriseInfo();
« no previous file with comments | « ash/system/tiles/tray_tiles_unittest.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698