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

Unified Diff: ash/common/system/tray/system_tray_controller.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: ash/common/system/tray/system_tray_controller.cc
diff --git a/ash/common/system/tray/system_tray_controller.cc b/ash/common/system/tray/system_tray_controller.cc
index 659cd531d79de85487ef187c8ceb0328dc34f3dd..3b2089bcf3501fdecc7b7de36c8c386c550f498d 100644
--- a/ash/common/system/tray/system_tray_controller.cc
+++ b/ash/common/system/tray/system_tray_controller.cc
@@ -110,9 +110,9 @@ void SystemTrayController::SignOut() {
system_tray_client_->SignOut();
}
-void SystemTrayController::RequestRestartForUpdate() {
+void SystemTrayController::RequestRestartForUpdate(bool always_reboot) {
if (system_tray_client_)
- system_tray_client_->RequestRestartForUpdate();
+ system_tray_client_->RequestRestartForUpdate(always_reboot);
}
void SystemTrayController::BindRequest(mojom::SystemTrayRequest request) {

Powered by Google App Engine
This is Rietveld 408576698