Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: chrome/browser/crash_handler_host_linux.h

Issue 10860006: Breakpad support for ASan: take 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/breakpad_linux.cc ('k') | chrome/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/app/breakpad_linux.cc ('k') | chrome/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698