Index: chrome/browser/crash_handler_host_linux_stub.cc |
diff --git a/chrome/browser/crash_handler_host_linux_stub.cc b/chrome/browser/crash_handler_host_linux_stub.cc |
index 6835bc27ca3302815c98e8edcaac974abb30a741..157d7725d263a0e544563afedb4e1f731c475d9e 100644 |
--- a/chrome/browser/crash_handler_host_linux_stub.cc |
+++ b/chrome/browser/crash_handler_host_linux_stub.cc |
@@ -7,6 +7,8 @@ |
#include "chrome/browser/crash_handler_host_linux.h" |
+#include "base/singleton.h" |
+ |
CrashHandlerHostLinux::CrashHandlerHostLinux() |
: process_socket_(-1), |
browser_socket_(-1) { |
@@ -30,8 +32,18 @@ PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() { |
PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() { |
} |
+// static |
+PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() { |
+ return Singleton<PluginCrashHandlerHostLinux>::get(); |
+} |
+ |
RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() { |
} |
RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() { |
} |
+ |
+// static |
+RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { |
+ return Singleton<RendererCrashHandlerHostLinux>::get(); |
+} |