diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-02 23:53:26 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-02 23:53:26 +0000 |
commit | b064f0ebd408d4ef852052963ff443e1fd3f261c (patch) | |
tree | bc20af203d3ca422734fb52ae083967c1864c645 /chrome/browser/crash_handler_host_linux_stub.cc | |
parent | e51cb6f8bcdec373ccabd5ea609bc7855eb6c070 (diff) | |
download | chromium_src-b064f0ebd408d4ef852052963ff443e1fd3f261c.zip chromium_src-b064f0ebd408d4ef852052963ff443e1fd3f261c.tar.gz chromium_src-b064f0ebd408d4ef852052963ff443e1fd3f261c.tar.bz2 |
Linux: Handle renderer and plugin crashes on a separate thread. (try 2)
Also set retries / timeouts for wget to attempt to limit the duration of each crash handler.
Move some code out of headers while we're at it.
BUG=54071
TEST=change /usr/bin/wget to sleep forever, visit about:crash in a Breakpad-enabled build, make sure other renderers continue to work.
Original Review URL: http://codereview.chromium.org/3308007
Review URL: http://codereview.chromium.org/3333012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux_stub.cc')
-rw-r--r-- | chrome/browser/crash_handler_host_linux_stub.cc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chrome/browser/crash_handler_host_linux_stub.cc b/chrome/browser/crash_handler_host_linux_stub.cc index e95f679..6835bc2 100644 --- a/chrome/browser/crash_handler_host_linux_stub.cc +++ b/chrome/browser/crash_handler_host_linux_stub.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -23,3 +23,15 @@ void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) { void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() { } + +PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() { +} + +PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() { +} + +RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() { +} + +RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() { +} |