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

Unified Diff: ash/metrics/user_metrics_recorder.cc

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: merge 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/focus_cycler_unittest.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder.cc
diff --git a/ash/metrics/user_metrics_recorder.cc b/ash/metrics/user_metrics_recorder.cc
index b9e87b0d0ca8e38e3b74f9fd4c404bc6e07b51a1..311086bd1da0fbb600320e9f18278789cf908f11 100644
--- a/ash/metrics/user_metrics_recorder.cc
+++ b/ash/metrics/user_metrics_recorder.cc
@@ -85,20 +85,20 @@ ActiveWindowStateType GetActiveWindowState() {
// Returns true if kiosk mode is active.
bool IsKioskModeActive() {
- return WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
+ return Shell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
LoginStatus::KIOSK_APP;
}
// Returns true if ARC kiosk mode is active.
bool IsArcKioskModeActive() {
- return WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
+ return Shell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
LoginStatus::ARC_KIOSK_APP;
}
// Returns true if there is an active user and their session isn't currently
// locked.
bool IsUserActive() {
- switch (WmShell::Get()->system_tray_delegate()->GetUserLoginStatus()) {
+ switch (Shell::Get()->system_tray_delegate()->GetUserLoginStatus()) {
case LoginStatus::NOT_LOGGED_IN:
case LoginStatus::LOCKED:
return false;
« no previous file with comments | « ash/focus_cycler_unittest.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698