Index: chrome/browser/browser_shutdown.h |
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h |
index e3cf6506841d13a1bcdb9817be6c1a14c77dda57..6b40689e49c66fce8ad998aefb03bbaf05dd3354 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 when we should restart |
sky
2016/09/13 13:21:14
How about: Returns true if the browser should be r
hashimoto
2016/09/13 22:18:22
Done.
|
+// the last session. |
+bool RecordShutdownInfoPrefs(); |
+ |
// Performs the remaining shutdown tasks after all threads but the |
// main thread have been stopped. This includes deleting g_browser_process. |
// |