Index: ash/shell/shell_delegate_impl.cc |
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc |
index 02c6a27a2d5d75ac1cc1d24515a34ecd9f4ad1d5..99076a5b602f52db59af0ee3f0150a7973033fec 100644 |
--- a/ash/shell/shell_delegate_impl.cc |
+++ b/ash/shell/shell_delegate_impl.cc |
@@ -92,6 +92,9 @@ class SessionStateDelegateImpl : public SessionStateDelegate { |
// ash_shell has 2 users. |
return 2; |
} |
+ virtual int GetNumberOfAdmittedForMultiProfileUsers() const OVERRIDE { |
+ return GetMaximumNumberOfLoggedInUsers() - NumberOfLoggedInUsers(); |
+ } |
virtual bool IsActiveUserSessionStarted() const OVERRIDE { return true; } |
virtual bool CanLockScreen() const OVERRIDE { return true; } |
virtual bool IsScreenLocked() const OVERRIDE { return screen_locked_; } |