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

Unified Diff: chrome/browser/upgrade_detector.cc

Issue 2882933002: Add update available icon in system tray (Closed)
Patch Set: Delay RequestUpdateCheck until the aboutChromeOS page is loaded Created 3 years, 7 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: chrome/browser/upgrade_detector.cc
diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc
index 2dfd1a91560d353cf9753dfa8654eeb8046c4483..c9cbc01aa349b06f641094691f756d81bd17fcf5 100644
--- a/chrome/browser/upgrade_detector.cc
+++ b/chrome/browser/upgrade_detector.cc
@@ -87,6 +87,10 @@ void UpgradeDetector::NotifyUpgradeRecommended() {
}
}
+void UpgradeDetector::NotifyUpdateOverCellularAvailable() {
+ TriggerNotification(chrome::NOTIFICATION_UPDATE_OVER_CELLULAR_AVAILABLE);
+}
+
void UpgradeDetector::TriggerCriticalUpdate() {
const base::TimeDelta idle_timer = UseTestingIntervals() ?
base::TimeDelta::FromSeconds(kIdleRepeatingTimerWait) :

Powered by Google App Engine
This is Rietveld 408576698