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

Unified Diff: ash/common/test/test_session_controller_client.cc

Issue 2797743002: ash: Merge LoginStatus update code path (Closed)
Patch Set: for #2 comments 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
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ash/mus/system_tray_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/test_session_controller_client.cc
diff --git a/ash/common/test/test_session_controller_client.cc b/ash/common/test/test_session_controller_client.cc
index a9e9f8b378d2781b880dec4b2b83fccb18533ac8..9381a223018f83e7d57073094ede5094afc2e392 100644
--- a/ash/common/test/test_session_controller_client.cc
+++ b/ash/common/test/test_session_controller_client.cc
@@ -77,12 +77,6 @@ void TestSessionControllerClient::SetSessionState(
session_manager::SessionState state) {
session_info_->state = state;
controller_->SetSessionInfo(session_info_->Clone());
-
- // TODO(xiyuan): Remove after LoginStatus becomes part of SessionController.
- Shell::Get()->UpdateAfterLoginStatusChange(
- state == session_manager::SessionState::ACTIVE
- ? LoginStatus::USER
- : LoginStatus::NOT_LOGGED_IN);
}
void TestSessionControllerClient::CreatePredefinedUserSessions(int count) {
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ash/mus/system_tray_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698