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 | |
99 DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); | 95 DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); |
100 }; | 96 }; |
101 | 97 |
102 class ExtensionCrashHandlerHostLinux : public CrashHandlerHostLinux { | 98 class ExtensionCrashHandlerHostLinux : public CrashHandlerHostLinux { |
103 public: | 99 public: |
104 // Returns the singleton instance. | 100 // Returns the singleton instance. |
105 static ExtensionCrashHandlerHostLinux* GetInstance(); | 101 static ExtensionCrashHandlerHostLinux* GetInstance(); |
106 | 102 |
107 private: | 103 private: |
108 friend struct DefaultSingletonTraits<ExtensionCrashHandlerHostLinux>; | 104 friend struct DefaultSingletonTraits<ExtensionCrashHandlerHostLinux>; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 virtual ~RendererCrashHandlerHostLinux(); | 174 virtual ~RendererCrashHandlerHostLinux(); |
179 | 175 |
180 #if defined(USE_LINUX_BREAKPAD) | 176 #if defined(USE_LINUX_BREAKPAD) |
181 virtual void SetProcessType() OVERRIDE; | 177 virtual void SetProcessType() OVERRIDE; |
182 #endif | 178 #endif |
183 | 179 |
184 DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux); | 180 DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux); |
185 }; | 181 }; |
186 | 182 |
187 #endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ | 183 #endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ |
OLD | NEW |