Chromium Code Reviews| Index: ash/test/test_session_state_delegate.h |
| diff --git a/ash/test/test_session_state_delegate.h b/ash/test/test_session_state_delegate.h |
| index a77b3cdbeaf8cce57c8ada74ed257a656bcf233a..e5d8cf2adee72460509f2991d9beeb39dee22a6d 100644 |
| --- a/ash/test/test_session_state_delegate.h |
| +++ b/ash/test/test_session_state_delegate.h |
| @@ -81,6 +81,12 @@ class TestSessionStateDelegate : public SessionStateDelegate { |
| // Setting non NULL image enables avatar icon. |
| void SetUserImage(const gfx::ImageSkia& user_image); |
| + // Updates the internal state that indicates the state of the session. Does |
|
tdanderson
2015/02/11 22:59:53
nit: comment unnecessary here, and this can move t
jonross
2015/02/12 15:36:58
Done.
|
| + // not notify listeners. |
| + void set_session_state(SessionState session_state) { |
| + session_state_ = session_state; |
| + } |
| + |
| private: |
| // Whether a session is in progress and there is an active user. |
| bool has_active_user_; |
| @@ -111,6 +117,10 @@ class TestSessionStateDelegate : public SessionStateDelegate { |
| std::vector<MockUserInfo*> user_list_; |
| + // The current state of the login screen. |session_state_| becomes active |
| + // before the profile and browser UI are available. |
| + SessionState session_state_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate); |
| }; |