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

Unified Diff: ash/common/system/update/tray_update_unittest.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/common/system/update/tray_update.cc ('k') | ash/common/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/update/tray_update_unittest.cc
diff --git a/ash/common/system/update/tray_update_unittest.cc b/ash/common/system/update/tray_update_unittest.cc
index 18007c8036cc8927b0e4f529ae82db5e9d6cf96c..95a394bf03fc85e94654787cb6adb784f5045114 100644
--- a/ash/common/system/update/tray_update_unittest.cc
+++ b/ash/common/system/update/tray_update_unittest.cc
@@ -7,8 +7,8 @@
#include "ash/common/system/tray/system_tray.h"
#include "ash/common/system/tray/system_tray_controller.h"
#include "ash/common/test/ash_test.h"
-#include "ash/common/wm_shell.h"
#include "ash/public/interfaces/update.mojom.h"
+#include "ash/shell.h"
namespace ash {
@@ -23,7 +23,7 @@ TEST_F(TrayUpdateTest, VisibilityAfterUpdate) {
EXPECT_FALSE(tray_update->tray_view()->visible());
// Simulate an update.
- WmShell::Get()->system_tray_controller()->ShowUpdateIcon(
+ Shell::Get()->system_tray_controller()->ShowUpdateIcon(
mojom::UpdateSeverity::LOW, false);
// Tray item is now visible.
« no previous file with comments | « ash/common/system/update/tray_update.cc ('k') | ash/common/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698