summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_handler_host_linux.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 19:37:07 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 19:37:07 +0000
commit9dbfff14e647a8de2722dd734df83cf2ac5012e9 (patch)
tree0bf4efd6124a0a697bfed1457523c54579008385 /chrome/browser/crash_handler_host_linux.h
parent77689c3d42338faa34147fb037c9825132a82d82 (diff)
downloadchromium_src-9dbfff14e647a8de2722dd734df83cf2ac5012e9.zip
chromium_src-9dbfff14e647a8de2722dd734df83cf2ac5012e9.tar.gz
chromium_src-9dbfff14e647a8de2722dd734df83cf2ac5012e9.tar.bz2
Linux: Adding crash reporting for extension processes.
BUG=87454 TEST=see bug Review URL: http://codereview.chromium.org/7289036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.h')
-rw-r--r--chrome/browser/crash_handler_host_linux.h41
1 files changed, 29 insertions, 12 deletions
diff --git a/chrome/browser/crash_handler_host_linux.h b/chrome/browser/crash_handler_host_linux.h
index 3ef2657..ecdebac 100644
--- a/chrome/browser/crash_handler_host_linux.h
+++ b/chrome/browser/crash_handler_host_linux.h
@@ -95,6 +95,23 @@ class CrashHandlerHostLinux : public MessageLoopForIO::Watcher,
DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux);
};
+class ExtensionCrashHandlerHostLinux : public CrashHandlerHostLinux {
+ public:
+ // Returns the singleton instance.
+ static ExtensionCrashHandlerHostLinux* GetInstance();
+
+ private:
+ friend struct DefaultSingletonTraits<ExtensionCrashHandlerHostLinux>;
+ ExtensionCrashHandlerHostLinux();
+ virtual ~ExtensionCrashHandlerHostLinux();
+
+#if defined(USE_LINUX_BREAKPAD)
+ virtual void SetProcessType();
+#endif
+
+ DISALLOW_COPY_AND_ASSIGN(ExtensionCrashHandlerHostLinux);
+};
+
class GpuCrashHandlerHostLinux : public CrashHandlerHostLinux {
public:
// Returns the singleton instance.
@@ -129,38 +146,38 @@ class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux {
DISALLOW_COPY_AND_ASSIGN(PluginCrashHandlerHostLinux);
};
-class RendererCrashHandlerHostLinux : public CrashHandlerHostLinux {
+class PpapiCrashHandlerHostLinux : public CrashHandlerHostLinux {
public:
// Returns the singleton instance.
- static RendererCrashHandlerHostLinux* GetInstance();
+ static PpapiCrashHandlerHostLinux* GetInstance();
private:
- friend struct DefaultSingletonTraits<RendererCrashHandlerHostLinux>;
- RendererCrashHandlerHostLinux();
- virtual ~RendererCrashHandlerHostLinux();
+ friend struct DefaultSingletonTraits<PpapiCrashHandlerHostLinux>;
+ PpapiCrashHandlerHostLinux();
+ virtual ~PpapiCrashHandlerHostLinux();
#if defined(USE_LINUX_BREAKPAD)
virtual void SetProcessType();
#endif
- DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux);
+ DISALLOW_COPY_AND_ASSIGN(PpapiCrashHandlerHostLinux);
};
-class PpapiCrashHandlerHostLinux : public CrashHandlerHostLinux {
+class RendererCrashHandlerHostLinux : public CrashHandlerHostLinux {
public:
// Returns the singleton instance.
- static PpapiCrashHandlerHostLinux* GetInstance();
+ static RendererCrashHandlerHostLinux* GetInstance();
private:
- friend struct DefaultSingletonTraits<PpapiCrashHandlerHostLinux>;
- PpapiCrashHandlerHostLinux();
- virtual ~PpapiCrashHandlerHostLinux();
+ friend struct DefaultSingletonTraits<RendererCrashHandlerHostLinux>;
+ RendererCrashHandlerHostLinux();
+ virtual ~RendererCrashHandlerHostLinux();
#if defined(USE_LINUX_BREAKPAD)
virtual void SetProcessType();
#endif
- DISALLOW_COPY_AND_ASSIGN(PpapiCrashHandlerHostLinux);
+ DISALLOW_COPY_AND_ASSIGN(RendererCrashHandlerHostLinux);
};
#endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_