Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2542)

Unified Diff: ash/test/test_session_controller_client.cc

Issue 2822033002: cros: Use SessionController to enable system tray settings / notifications tray (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 35fef7e3dc0ed120caba1229a257b92947545607..5d907cc90f596cff321667566c437c027aab17fe 100644
--- a/ash/test/test_session_controller_client.cc
+++ b/ash/test/test_session_controller_client.cc
@@ -104,6 +104,8 @@ 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_show_notification_tray = true;
controller_->UpdateUserSession(std::move(session));
}

Powered by Google App Engine
This is Rietveld 408576698