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

Unified Diff: ash/system/update/tray_update.h

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.h
diff --git a/ash/system/update/tray_update.h b/ash/system/update/tray_update.h
index 70c970e2f69ccae348780fa122aa08ab30820cd6..000a0e3cd75242fd284f859925cc7a057118a545 100644
--- a/ash/system/update/tray_update.h
+++ b/ash/system/update/tray_update.h
@@ -17,6 +17,7 @@ namespace ash {
namespace mojom {
enum class UpdateSeverity;
+enum class UpdateType;
}
// The system update tray item. The tray icon stays visible once an update
@@ -31,7 +32,8 @@ class ASH_EXPORT TrayUpdate : public TrayImageItem {
// available. Once shown the icon persists until reboot. |severity| and
// |factory_reset_required| are used to set the icon, color, and tooltip.
void ShowUpdateIcon(mojom::UpdateSeverity severity,
- bool factory_reset_required);
+ bool factory_reset_required,
+ mojom::UpdateType update_type);
private:
class UpdateView;
@@ -46,6 +48,7 @@ class ASH_EXPORT TrayUpdate : public TrayImageItem {
static bool update_required_;
static mojom::UpdateSeverity severity_;
static bool factory_reset_required_;
+ static mojom::UpdateType update_type_;
DISALLOW_COPY_AND_ASSIGN(TrayUpdate);
};

Powered by Google App Engine
This is Rietveld 408576698