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..cccbe176fdc7953d9b210f95780e3aa43a4796a7 100644 |
--- a/chrome/browser/lifetime/application_lifetime.h |
+++ b/chrome/browser/lifetime/application_lifetime.h |
@@ -76,7 +76,13 @@ void NotifyAppTerminating(); |
// Send out notifications. |
// For ChromeOS, also request session manager to end the session. |
+// |lifetime| is used to signal whether or not a reboot should be forced. By |
+// default, the functions only reboot the system if an update is available. When |
+// a component flash update is present, but not a system update, the |
+// kForceReboot flag is passed. |
+enum class RebootPolicy { kForceReboot, kOptionalReboot }; |
void NotifyAndTerminate(bool fast_path); |
+void NotifyAndTerminate(bool fast_path, RebootPolicy reboot_policy); |
#if !defined(OS_ANDROID) |
// Called once the application is exiting. |