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

Unified Diff: ash/common/system/chromeos/enterprise/tray_enterprise.cc

Issue 2775973002: Promotes more accessors 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: ash/common/system/chromeos/enterprise/tray_enterprise.cc
diff --git a/ash/common/system/chromeos/enterprise/tray_enterprise.cc b/ash/common/system/chromeos/enterprise/tray_enterprise.cc
index 6083dfa908c41b1763282eda231cfff7eff590a1..e61304701af09447af7d9f804dc5c9adf40d42ee 100644
--- a/ash/common/system/chromeos/enterprise/tray_enterprise.cc
+++ b/ash/common/system/chromeos/enterprise/tray_enterprise.cc
@@ -8,7 +8,6 @@
#include "ash/common/system/tray/label_tray_view.h"
#include "ash/common/system/tray/system_tray_delegate.h"
#include "ash/common/system/tray/system_tray_notifier.h"
-#include "ash/common/wm_shell.h"
#include "ash/resources/grit/ash_resources.h"
#include "ash/shell.h"
#include "base/logging.h"
@@ -18,11 +17,11 @@ namespace ash {
TrayEnterprise::TrayEnterprise(SystemTray* system_tray)
: SystemTrayItem(system_tray, UMA_ENTERPRISE), tray_view_(nullptr) {
- WmShell::Get()->system_tray_notifier()->AddEnterpriseDomainObserver(this);
+ Shell::Get()->system_tray_notifier()->AddEnterpriseDomainObserver(this);
}
TrayEnterprise::~TrayEnterprise() {
- WmShell::Get()->system_tray_notifier()->RemoveEnterpriseDomainObserver(this);
+ Shell::Get()->system_tray_notifier()->RemoveEnterpriseDomainObserver(this);
}
void TrayEnterprise::UpdateEnterpriseMessage() {
« no previous file with comments | « ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.cc ('k') | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698