diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 23:28:43 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 23:28:43 +0000 |
commit | ca77966c71ba035c1fd9d527acc7c86b684bc929 (patch) | |
tree | 68c6a83fd8cd0631704f5c26d72d5398e5e84b56 /chrome/browser/crash_handler_host_linux.h | |
parent | 2c68bf03d6980afc7d6efb33b6468ea74b416378 (diff) | |
download | chromium_src-ca77966c71ba035c1fd9d527acc7c86b684bc929.zip chromium_src-ca77966c71ba035c1fd9d527acc7c86b684bc929.tar.gz chromium_src-ca77966c71ba035c1fd9d527acc7c86b684bc929.tar.bz2 |
Fix DCHECK in ~CrashHandlerHostLinux.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4655008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.h')
-rw-r--r-- | chrome/browser/crash_handler_host_linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/crash_handler_host_linux.h b/chrome/browser/crash_handler_host_linux.h index 0e7bf6e..bc2214b 100644 --- a/chrome/browser/crash_handler_host_linux.h +++ b/chrome/browser/crash_handler_host_linux.h @@ -42,6 +42,11 @@ class CrashHandlerHostLinux : public MessageLoopForIO::Watcher, // MessageLoop::DestructionObserver impl: virtual void WillDestroyCurrentMessageLoop(); +#if defined(USE_LINUX_BREAKPAD) + // Whether we are shutting down or not. + bool IsShuttingDown() const; +#endif + protected: CrashHandlerHostLinux(); virtual ~CrashHandlerHostLinux(); @@ -67,6 +72,7 @@ class CrashHandlerHostLinux : public MessageLoopForIO::Watcher, #if defined(USE_LINUX_BREAKPAD) MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_; scoped_ptr<base::Thread> uploader_thread_; + bool shutting_down_; #endif DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); |