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

Unified Diff: chrome/browser/chrome_browser_main_x11.cc

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 | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_x11.cc
diff --git a/chrome/browser/chrome_browser_main_x11.cc b/chrome/browser/chrome_browser_main_x11.cc
index 63663c940794a69ab2eeaf44cc44a4b16a40a1f0..adc8ae1b8499687410d98d42ccfc69271603af10 100644
--- a/chrome/browser/chrome_browser_main_x11.cc
+++ b/chrome/browser/chrome_browser_main_x11.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/chrome_browser_main.h"
#include "base/debug/debugger.h"
+#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/metrics/metrics_service.h"
#include "content/browser/browser_thread.h"
@@ -55,6 +56,7 @@ int BrowserX11IOErrorHandler(Display* d) {
if (!g_in_x11_io_error_handler) {
g_in_x11_io_error_handler = true;
LOG(ERROR) << "X IO Error detected";
+ browser_shutdown::SetShuttingDownWithoutClosingBrowsers(true);
BrowserList::SessionEnding();
}
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698