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

Unified Diff: chrome/browser/ui/ash/system_tray_client.cc

Issue 2493973003: Display "Restart to update" dialog to Chrome OS users. (Closed)
Patch Set: Display "Restart to update" dialog to Chrome OS users. Created 4 years 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/ui/ash/system_tray_client.cc
diff --git a/chrome/browser/ui/ash/system_tray_client.cc b/chrome/browser/ui/ash/system_tray_client.cc
index b295cb24edcb1f42f007c0eade47f470e0b21505..3ba63486bf87faabfc45168ee356d61759451290 100644
--- a/chrome/browser/ui/ash/system_tray_client.cc
+++ b/chrome/browser/ui/ash/system_tray_client.cc
@@ -315,9 +315,9 @@ void SystemTrayClient::SignOut() {
chrome::AttemptUserExit();
}
-void SystemTrayClient::RequestRestartForUpdate() {
+void SystemTrayClient::RequestRestartForUpdate(bool always_reboot) {
// We expect that UpdateEngine is in "Reboot for update" state now.
- chrome::NotifyAndTerminate(true /* fast_path */);
+ chrome::NotifyAndTerminate(true /* fast_path */, always_reboot);
James Cook 2016/11/30 23:01:41 For example, this could query SystemTrayDelegateCh
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698