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

Unified Diff: ash/common/system/web_notification/web_notification_tray.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/user/user_view.cc ('k') | ash/common/test/test_session_controller_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/web_notification/web_notification_tray.cc
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
index 28f6586be82710dbf3b58a24f5bd06b4f987ef5c..c0a3dd19c6ec4fdb80c91cb3751a2fed11719736 100644
--- a/ash/common/system/web_notification/web_notification_tray.cc
+++ b/ash/common/system/web_notification/web_notification_tray.cc
@@ -4,7 +4,7 @@
#include "ash/common/system/web_notification/web_notification_tray.h"
-#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/shelf/shelf_constants.h"
#include "ash/common/shelf/wm_shelf.h"
#include "ash/common/shelf/wm_shelf_util.h"
@@ -616,7 +616,7 @@ bool WebNotificationTray::IsLoggedIn() const {
WmShell* shell = WmShell::Get();
return shell->system_tray_delegate()->GetUserLoginStatus() !=
LoginStatus::NOT_LOGGED_IN &&
- !shell->GetSessionStateDelegate()->IsInSecondaryLoginScreen();
+ !shell->session_controller()->IsInSecondaryLoginScreen();
}
// Methods for testing
« no previous file with comments | « ash/common/system/user/user_view.cc ('k') | ash/common/test/test_session_controller_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698