| Index: ash/session_state_delegate_stub.cc
|
| diff --git a/ash/session_state_delegate_stub.cc b/ash/session_state_delegate_stub.cc
|
| index 51eeb91c72725ecfbd8898945dcf2ecc9aa9343b..ba1058b2ca80e7c9e90b9f8f45e4d640f2216479 100644
|
| --- a/ash/session_state_delegate_stub.cc
|
| +++ b/ash/session_state_delegate_stub.cc
|
| @@ -69,6 +69,13 @@ bool SessionStateDelegateStub::IsUserSessionBlocked() const {
|
| return !IsActiveUserSessionStarted() || IsScreenLocked();
|
| }
|
|
|
| +SessionStateDelegate::SessionState SessionStateDelegateStub::GetSessionState()
|
| + const {
|
| + // Assume that if session is not active we're at login.
|
| + return IsActiveUserSessionStarted() ?
|
| + SESSION_STATE_ACTIVE : SESSION_STATE_LOGIN_PRIMARY;
|
| +}
|
| +
|
| const base::string16 SessionStateDelegateStub::GetUserDisplayName(
|
| MultiProfileIndex index) const {
|
| return base::UTF8ToUTF16("stub-user");
|
|
|