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

Unified Diff: ash/system/update/tray_update_unittest.cc

Issue 2816253002: Display "Restart to update Adobe Flash Player" for Flash updates. (Closed)
Patch Set: Fix broken test Created 3 years, 8 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/system/update/tray_update_unittest.cc
diff --git a/ash/system/update/tray_update_unittest.cc b/ash/system/update/tray_update_unittest.cc
index aa38649c662fbcf636de3c2671cd56c4d6aeeb13..ef678c07c851082e7fea9e7fb2fd798af519f86d 100644
--- a/ash/system/update/tray_update_unittest.cc
+++ b/ash/system/update/tray_update_unittest.cc
@@ -24,7 +24,7 @@ TEST_F(TrayUpdateTest, VisibilityAfterUpdate) {
// Simulate an update.
Shell::Get()->system_tray_controller()->ShowUpdateIcon(
- mojom::UpdateSeverity::LOW, false);
+ mojom::UpdateSeverity::LOW, false, mojom::UpdateType::SYSTEM);
// Tray item is now visible.
EXPECT_TRUE(tray_update->tray_view()->visible());

Powered by Google App Engine
This is Rietveld 408576698