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..e1757bfb36bf47a99c661c6ba9e154e490010651 100644 |
| --- a/ash/test/test_session_state_delegate.h |
| +++ b/ash/test/test_session_state_delegate.h |
| @@ -81,6 +81,10 @@ 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 |
| + // not notify listeners. |
| + void SetSessionState(SessionState session_state); |
|
tdanderson
2015/02/11 20:32:35
The preference for a simple mutator such as this w
jonross
2015/02/11 22:17:45
Done.
|
| + |
| private: |
| // Whether a session is in progress and there is an active user. |
| bool has_active_user_; |
| @@ -111,6 +115,10 @@ class TestSessionStateDelegate : public SessionStateDelegate { |
| std::vector<MockUserInfo*> user_list_; |
| + // The current state of the login screen. |session_state_| becomes true before |
|
tdanderson
2015/02/11 20:32:35
Specify what you mean by "becomes true" since |ses
jonross
2015/02/11 22:17:45
Done.
|
| + // the profile and browser UI are available. |
| + SessionState session_state_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate); |
| }; |