| Index: ash/test/ash_test_base.cc
|
| diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
|
| index 3346c3c53e3288570e9836aacf6a0e610173d52d..24b004faf4b56f812b8345c32bc9962a7eb235f9 100644
|
| --- a/ash/test/ash_test_base.cc
|
| +++ b/ash/test/ash_test_base.cc
|
| @@ -14,6 +14,7 @@
|
| #include "ash/shell.h"
|
| #include "ash/test/display_manager_test_api.h"
|
| #include "ash/test/shell_test_api.h"
|
| +#include "ash/test/test_session_state_delegate.h"
|
| #include "ash/test/test_shell_delegate.h"
|
| #include "ash/wm/coordinate_conversion.h"
|
| #include "base/command_line.h"
|
| @@ -275,15 +276,18 @@ void AshTestBase::RunAllPendingInMessageLoop() {
|
| }
|
|
|
| void AshTestBase::SetSessionStarted(bool session_started) {
|
| - test_shell_delegate_->SetSessionStarted(session_started);
|
| + test_shell_delegate_->test_session_state_delegate()->
|
| + SetActiveUserSessionStarted(session_started);
|
| }
|
|
|
| void AshTestBase::SetUserLoggedIn(bool user_logged_in) {
|
| - test_shell_delegate_->SetUserLoggedIn(user_logged_in);
|
| + test_shell_delegate_->test_session_state_delegate()->
|
| + SetHasActiveUser(user_logged_in);
|
| }
|
|
|
| void AshTestBase::SetCanLockScreen(bool can_lock_screen) {
|
| - test_shell_delegate_->SetCanLockScreen(can_lock_screen);
|
| + test_shell_delegate_->test_session_state_delegate()->
|
| + SetCanLockScreen(can_lock_screen);
|
| }
|
|
|
| } // namespace test
|
|
|