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

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

Issue 6368072: Adding crash reporting on Linux for the GPU process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/browser/child_process_launcher.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 #if defined(USE_LINUX_BREAKPAD) 73 #if defined(USE_LINUX_BREAKPAD)
74 MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_; 74 MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_;
75 scoped_ptr<base::Thread> uploader_thread_; 75 scoped_ptr<base::Thread> uploader_thread_;
76 bool shutting_down_; 76 bool shutting_down_;
77 #endif 77 #endif
78 78
79 DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); 79 DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux);
80 }; 80 };
81 81
82 class GpuCrashHandlerHostLinux : public CrashHandlerHostLinux {
83 public:
84 // Returns the singleton instance.
85 static GpuCrashHandlerHostLinux* GetInstance();
86
87 private:
88 friend struct DefaultSingletonTraits<GpuCrashHandlerHostLinux>;
89 GpuCrashHandlerHostLinux();
90 virtual ~GpuCrashHandlerHostLinux();
91
92 #if defined(USE_LINUX_BREAKPAD)
93 virtual void SetProcessType();
94 #endif
95
96 DISALLOW_COPY_AND_ASSIGN(GpuCrashHandlerHostLinux);
97 };
98
82 class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux { 99 class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux {
83 public: 100 public:
84 // Returns the singleton instance. 101 // Returns the singleton instance.
85 static PluginCrashHandlerHostLinux* GetInstance(); 102 static PluginCrashHandlerHostLinux* GetInstance();
86 103
87 private: 104 private:
88 friend struct DefaultSingletonTraits<PluginCrashHandlerHostLinux>; 105 friend struct DefaultSingletonTraits<PluginCrashHandlerHostLinux>;
89 PluginCrashHandlerHostLinux(); 106 PluginCrashHandlerHostLinux();
90 virtual ~PluginCrashHandlerHostLinux(); 107 virtual ~PluginCrashHandlerHostLinux();
91 108
(...skipping 15 matching lines...) Expand all
107 virtual ~RendererCrashHandlerHostLinux(); 124 virtual ~RendererCrashHandlerHostLinux();
108 125
109 #if defined(USE_LINUX_BREAKPAD) 126 #if defined(USE_LINUX_BREAKPAD)
110 virtual void SetProcessType(); 127 virtual void SetProcessType();
111 #endif 128 #endif
112 129
113 DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux); 130 DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux);
114 }; 131 };
115 132
116 #endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ 133 #endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « chrome/browser/child_process_launcher.cc ('k') | chrome/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698