summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/importer.h
diff options
context:
space:
mode:
authorcmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 03:09:33 +0000
committercmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 03:09:33 +0000
commitedb7c860f97a0fadc7cda85b5a4581941a7f00bf (patch)
treea6100359380ee849545fad19bbe68db5972dbb21 /chrome/browser/importer/importer.h
parent1f070f059c645668e6b0446b726f5a08613c20d0 (diff)
downloadchromium_src-edb7c860f97a0fadc7cda85b5a4581941a7f00bf.zip
chromium_src-edb7c860f97a0fadc7cda85b5a4581941a7f00bf.tar.gz
chromium_src-edb7c860f97a0fadc7cda85b5a4581941a7f00bf.tar.bz2
Adding a SIGTERM handler for OS_POSIX builds. This is needed so that Chrome can shut down gracefully when many posix-based system halt or reboot while Chrome is open.
SIGTERM may come in on any thread, so the handler creates a Task object that wraps up a call to BrowserList::CloseAllBrowsers(true) and Posts it to the message loop of the UI thread. Thus, we both get out of the signal handler quickly and can deal with the signal on any thread. BUG=23551 TEST=covered by BrowserTest.PosixSessionEnd Review URL: http://codereview.chromium.org/255036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/importer.h')
0 files changed, 0 insertions, 0 deletions