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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: feedback 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
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 722d71a8d2a985bd783f28a3171dd6206149a191..730f43786b0595b8fa393c1f14f01635f28e2769 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -24,6 +24,7 @@
#include "ash/common/system/tray_accessibility.h"
#include "ash/common/system/user/user_observer.h"
#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ash/system/chromeos/rotation/tray_rotation_lock.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
@@ -323,8 +324,7 @@ void SystemTrayDelegateChromeOS::ShowEnterpriseInfo() {
}
void SystemTrayDelegateChromeOS::ShowUserLogin() {
- ash::WmShell* wm_shell = ash::WmShell::Get();
- if (!wm_shell->delegate()->IsMultiProfilesEnabled())
+ if (!ash::Shell::Get()->shell_delegate()->IsMultiProfilesEnabled())
return;
// Only regular non-supervised users could add other users to current session.

Powered by Google App Engine
This is Rietveld 408576698