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

Unified Diff: chrome/browser/browser_shutdown.h

Issue 8262009: Chrome OS: Shutdown without blocking when SIGTERM is received. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 2 months 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
« no previous file with comments | « no previous file | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_shutdown.h
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h
index 0df2919ba863a53f697a616deaa8cd68a973a791..337da1ab2ce4fbe07a15333e6b165c040066dda6 100644
--- a/chrome/browser/browser_shutdown.h
+++ b/chrome/browser/browser_shutdown.h
@@ -66,11 +66,15 @@ 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.
+// This is true on X during an END_SESSION initiated by X IO Error, 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();
+// Sets the ShuttingDownWithoutClosingBrowsers flag.
+void SetShuttingDownWithoutClosingBrowsers(bool without_close);
+
} // namespace browser_shutdown
#endif // CHROME_BROWSER_BROWSER_SHUTDOWN_H__
« no previous file with comments | « no previous file | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698