These methods need to be eliminated or converted to mojo:
// Returns the display email of the user that manages the current supervised
// user.
virtual std::string GetSupervisedUserManager() const;
// Returns the name of the user that manages the current supervised user.
virtual base::string16 GetSupervisedUserManagerName() const;
// Returns the notification for supervised users.
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;
Idea:
* Add user manager email and name to mojom::UserSession and send from Chrome's SessionControllerClient
* Use the existing mojom::UserType for the last two methods
Comment 1 by xiy...@chromium.org
, Apr 18 2017