| Index: ash/test/test_session_controller_client.cc
|
| diff --git a/ash/test/test_session_controller_client.cc b/ash/test/test_session_controller_client.cc
|
| index 5d907cc90f596cff321667566c437c027aab17fe..6492a7c94ae5f21a912aece59227e863b4c1c46e 100644
|
| --- a/ash/test/test_session_controller_client.cc
|
| +++ b/ash/test/test_session_controller_client.cc
|
| @@ -96,7 +96,8 @@ void TestSessionControllerClient::CreatePredefinedUserSessions(int count) {
|
| }
|
|
|
| void TestSessionControllerClient::AddUserSession(
|
| - const std::string& display_email) {
|
| + const std::string& display_email,
|
| + bool enable_settings) {
|
| mojom::UserSessionPtr session = mojom::UserSession::New();
|
| session->session_id = ++fake_session_id_;
|
| session->type = user_manager::USER_TYPE_REGULAR;
|
| @@ -104,7 +105,7 @@ void TestSessionControllerClient::AddUserSession(
|
| AccountId::FromUserEmail(GetUserIdFromEmail(display_email));
|
| session->display_name = "Über tray Über tray Über tray Über tray";
|
| session->display_email = display_email;
|
| - session->should_enable_settings = true;
|
| + session->should_enable_settings = enable_settings;
|
| session->should_show_notification_tray = true;
|
| controller_->UpdateUserSession(std::move(session));
|
| }
|
|
|