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

Unified Diff: ash/common/system/user/login_status.cc

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase to get WorkspaceLayoutManagerSoloTest change Created 3 years, 9 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/tray/tray_popup_utils.cc ('k') | ash/common/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/login_status.cc
diff --git a/ash/common/system/user/login_status.cc b/ash/common/system/user/login_status.cc
index 742bb91ecd361489c63cbcc05ad0363bf519c2e0..bc036f72d987cee38012a80c814373076f85aea8 100644
--- a/ash/common/system/user/login_status.cc
+++ b/ash/common/system/user/login_status.cc
@@ -4,7 +4,7 @@
#include "ash/common/system/user/login_status.h"
-#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/strings/grit/ash_strings.h"
#include "base/strings/string_util.h"
@@ -26,7 +26,7 @@ base::string16 GetLocalizedSignOutStringForStatus(LoginStatus status,
break;
default:
message_id =
- WmShell::Get()->GetSessionStateDelegate()->NumberOfLoggedInUsers() > 1
+ WmShell::Get()->session_controller()->NumberOfLoggedInUsers() > 1
? IDS_ASH_STATUS_TRAY_SIGN_OUT_ALL
: IDS_ASH_STATUS_TRAY_SIGN_OUT;
break;
« no previous file with comments | « ash/common/system/tray/tray_popup_utils.cc ('k') | ash/common/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698