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

Unified Diff: ash/system/tray_update_unittest.cc

Issue 2060633002: mash: Introduce WmSystemTrayNotifier for //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testupdate
Patch Set: rebase Created 4 years, 6 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/system/tray_update.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_update_unittest.cc
diff --git a/ash/system/tray_update_unittest.cc b/ash/system/tray_update_unittest.cc
index b32d817bf81fb9653fe2e9a79cc92a6b1ec17914..dbaa8ff9fd8e45dfc33b384656f9aa7ff678a413 100644
--- a/ash/system/tray_update_unittest.cc
+++ b/ash/system/tray_update_unittest.cc
@@ -4,10 +4,10 @@
#include "ash/system/tray_update.h"
-#include "ash/common/system/tray/system_tray_delegate.h"
+#include "ash/common/system/tray/wm_system_tray_notifier.h"
+#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray.h"
-#include "ash/system/tray/system_tray_notifier.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/test_system_tray_delegate.h"
#include "base/macros.h"
@@ -34,7 +34,7 @@ TEST_F(TrayUpdateTest, VisibilityAfterUpdate) {
// Simulate an update.
UpdateInfo info;
info.update_required = true;
- Shell::GetInstance()->system_tray_notifier()->NotifyUpdateRecommended(info);
+ WmShell::Get()->system_tray_notifier()->NotifyUpdateRecommended(info);
// Tray item is now visible.
EXPECT_TRUE(tray_update->tray_view()->visible());
« no previous file with comments | « ash/system/tray_update.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698