Index: chrome/browser/browser_shutdown.h |
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h |
index c2e38b59ea6a25ec4c28a51807573cb72921597d..0df2919ba863a53f697a616deaa8cd68a973a791 100644 |
--- a/chrome/browser/browser_shutdown.h |
+++ b/chrome/browser/browser_shutdown.h |
@@ -66,6 +66,11 @@ void SetTryingToQuit(bool quitting); |
// General accessor. |
bool IsTryingToQuit(); |
+// This is true on X during an END_SESSION, when we can no longer depend |
+// on the X server to be running. As a result we don't explicitly close the |
+// browser windows, which can lead to conditions which would fail checks. |
+bool ShuttingDownWithoutClosingBrowsers(); |
+ |
} // namespace browser_shutdown |
#endif // CHROME_BROWSER_BROWSER_SHUTDOWN_H__ |