summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_handler_host_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.h')
-rw-r--r--chrome/browser/crash_handler_host_linux.h6
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);