Index: chrome/browser/browser_shutdown.h |
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h |
index e3cf6506841d13a1bcdb9817be6c1a14c77dda57..957972459559a47e98a5be8ab316a9bad6875852 100644 |
--- a/chrome/browser/browser_shutdown.h |
+++ b/chrome/browser/browser_shutdown.h |
@@ -36,6 +36,8 @@ enum ShutdownType { |
END_SESSION |
}; |
+constexpr int kNumShutdownTypes = END_SESSION + 1; |
+ |
void RegisterPrefs(PrefRegistrySimple* registry); |
// Called when the browser starts shutting down so that we can measure shutdown |
@@ -52,6 +54,10 @@ ShutdownType GetShutdownType(); |
// Returns true if the session should be restarted. |
bool ShutdownPreThreadsStop(); |
+// Records the shutdown related prefs, and returns true if the browser should be |
+// restarted on exit. |
+bool RecordShutdownInfoPrefs(); |
+ |
// Performs the remaining shutdown tasks after all threads but the |
// main thread have been stopped. This includes deleting g_browser_process. |
// |