summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_shutdown.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 15:29:16 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 15:29:16 +0000
commit050e7718ca0a47182f7a478816c60686071357b8 (patch)
treeadf4851aab092da072c454bf8c4cd9d9a3fe83e4 /chrome/browser/browser_shutdown.h
parentf569a9c22c3df3c80ae5c05c2181f9ccc8067968 (diff)
downloadchromium_src-050e7718ca0a47182f7a478816c60686071357b8.zip
chromium_src-050e7718ca0a47182f7a478816c60686071357b8.tar.gz
chromium_src-050e7718ca0a47182f7a478816c60686071357b8.tar.bz2
Delete "shutdown without closing browsers"
Removing unused ShellDelegate::Shutdown() Added new PreShutdown to safely cleanup DisplayObserver. Chrome no longer access X during shutdown (except for deleting X window, which is safe), so normal SessionEnd path should work. There is another issue when this happens during login screen, and I'll file a separate bug for it. BUG=336653 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259061 R=abodenha@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/205963005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_shutdown.h')
-rw-r--r--chrome/browser/browser_shutdown.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h
index 208bb1d..f53de37 100644
--- a/chrome/browser/browser_shutdown.h
+++ b/chrome/browser/browser_shutdown.h
@@ -66,15 +66,6 @@ void SetTryingToQuit(bool quitting);
// General accessor.
bool IsTryingToQuit();
-// 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__