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

Unified Diff: ash/mus/system_tray_delegate_mus.cc

Issue 2741403004: mash: Update LoginStatus with session state updates (Closed)
Patch Set: 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/mus/system_tray_delegate_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/system_tray_delegate_mus.cc
diff --git a/ash/mus/system_tray_delegate_mus.cc b/ash/mus/system_tray_delegate_mus.cc
index c5d0ee173343b85174ca33a6a308d210a787d14b..056c7f088f74c76d796a64cccecd984514bfb0bf 100644
--- a/ash/mus/system_tray_delegate_mus.cc
+++ b/ash/mus/system_tray_delegate_mus.cc
@@ -4,7 +4,9 @@
#include "ash/mus/system_tray_delegate_mus.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/system/networking_config_delegate.h"
+#include "ash/common/wm_shell.h"
namespace ash {
namespace {
@@ -34,6 +36,10 @@ SystemTrayDelegateMus::SystemTrayDelegateMus()
SystemTrayDelegateMus::~SystemTrayDelegateMus() {
}
+LoginStatus SystemTrayDelegateMus::GetUserLoginStatus() const {
+ return WmShell::Get()->session_controller()->GetLoginStatus();
+}
+
NetworkingConfigDelegate* SystemTrayDelegateMus::GetNetworkingConfigDelegate()
const {
return networking_config_delegate_.get();
« no previous file with comments | « ash/mus/system_tray_delegate_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698