Chromium Code Reviews| Index: components/arc/arc_util.h |
| diff --git a/components/arc/arc_util.h b/components/arc/arc_util.h |
| index 7558ac3944d517a869b96bfb36a49f7b1d2dee75..71eb4cc3b9300a9019810a106c439a2854b25931 100644 |
| --- a/components/arc/arc_util.h |
| +++ b/components/arc/arc_util.h |
| @@ -78,6 +78,11 @@ void SetArcAvailableCommandLineForTesting(base::CommandLine* command_line); |
| // should also return true in that case. |
| bool IsArcKioskMode(); |
| +// Returns true if current user is a public session. |
| +// In that case ARC should also be started if available, using the same |
| +// authentication flow as ARC Kiosk mode. |
| +bool IsPublicSessionMode(); |
|
Luis Héctor Chávez
2017/08/28 18:33:28
So far all the code is doing are variations of (Is
Sergey Poromov
2017/08/28 18:47:24
Done.
|
| + |
| // Returns true if ARC is allowed for the given user. Note this should not be |
| // used as a signal of whether ARC is allowed alone because it only considers |
| // user meta data. e.g. a user could be allowed for ARC but if the user signs in |