| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ | 5 #ifndef CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ |
| 6 #define CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ | 6 #define CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 int process_socket_; | 86 int process_socket_; |
| 87 int browser_socket_; | 87 int browser_socket_; |
| 88 | 88 |
| 89 #if defined(USE_LINUX_BREAKPAD) | 89 #if defined(USE_LINUX_BREAKPAD) |
| 90 MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_; | 90 MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_; |
| 91 scoped_ptr<base::Thread> uploader_thread_; | 91 scoped_ptr<base::Thread> uploader_thread_; |
| 92 bool shutting_down_; | 92 bool shutting_down_; |
| 93 #endif | 93 #endif |
| 94 | 94 |
| 95 #if defined(ADDRESS_SANITIZER) |
| 96 char* asan_report_str_; |
| 97 #endif |
| 98 |
| 95 DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); | 99 DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); |
| 96 }; | 100 }; |
| 97 | 101 |
| 98 class ExtensionCrashHandlerHostLinux : public CrashHandlerHostLinux { | 102 class ExtensionCrashHandlerHostLinux : public CrashHandlerHostLinux { |
| 99 public: | 103 public: |
| 100 // Returns the singleton instance. | 104 // Returns the singleton instance. |
| 101 static ExtensionCrashHandlerHostLinux* GetInstance(); | 105 static ExtensionCrashHandlerHostLinux* GetInstance(); |
| 102 | 106 |
| 103 private: | 107 private: |
| 104 friend struct DefaultSingletonTraits<ExtensionCrashHandlerHostLinux>; | 108 friend struct DefaultSingletonTraits<ExtensionCrashHandlerHostLinux>; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 virtual ~RendererCrashHandlerHostLinux(); | 178 virtual ~RendererCrashHandlerHostLinux(); |
| 175 | 179 |
| 176 #if defined(USE_LINUX_BREAKPAD) | 180 #if defined(USE_LINUX_BREAKPAD) |
| 177 virtual void SetProcessType() OVERRIDE; | 181 virtual void SetProcessType() OVERRIDE; |
| 178 #endif | 182 #endif |
| 179 | 183 |
| 180 DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux); | 184 DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux); |
| 181 }; | 185 }; |
| 182 | 186 |
| 183 #endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ | 187 #endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ |
| OLD | NEW |