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

Unified Diff: chrome/browser/lifetime/application_lifetime.h

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/lifetime/application_lifetime.h
diff --git a/chrome/browser/lifetime/application_lifetime.h b/chrome/browser/lifetime/application_lifetime.h
index 2d426ae8a94698cd3acf939ab2f1a6f93be81b18..8ed09235e134137f9de8464409e469e54f06aeff 100644
--- a/chrome/browser/lifetime/application_lifetime.h
+++ b/chrome/browser/lifetime/application_lifetime.h
@@ -76,7 +76,10 @@ void NotifyAppTerminating();
// Send out notifications.
// For ChromeOS, also request session manager to end the session.
-void NotifyAndTerminate(bool fast_path);
+// |always_reboot| is used on ChromeOS to signal that a reboot is required, even
+// if a system update is not available. This is useful if, for example, a
+// component flash update was applied.
+void NotifyAndTerminate(bool fast_path, bool always_reboot = false);
#if !defined(OS_ANDROID)
// Called once the application is exiting.

Powered by Google App Engine
This is Rietveld 408576698