| Index: ash/session/session_controller.h
|
| diff --git a/ash/session/session_controller.h b/ash/session/session_controller.h
|
| index 5500b410eaa2aa120d25f978bbf2d7b27413b0f6..fa594e1e8afe14234a5ba3f47f194a003c0356d0 100644
|
| --- a/ash/session/session_controller.h
|
| +++ b/ash/session/session_controller.h
|
| @@ -85,6 +85,13 @@ class ASH_EXPORT SessionController
|
| // nullptr if no user session is found for the index.
|
| const mojom::UserSession* GetUserSession(UserIndex index) const;
|
|
|
| + // Returns true if the current user is supervised: has legacy supervised
|
| + // account or kid account.
|
| + bool IsUserSupervised() const;
|
| +
|
| + // Returns true if the current user is a child account.
|
| + bool IsUserChild() const;
|
| +
|
| // Locks the screen. The locking happens asynchronously.
|
| void LockScreen();
|
|
|
|
|