Index: chrome/browser/crash_handler_host_linux.h |
diff --git a/chrome/browser/crash_handler_host_linux.h b/chrome/browser/crash_handler_host_linux.h |
index bc2214bf3d4dbb5b99c12cc4a97a3056a7a7d84f..9ff5333a7fbb7ea475999db2288e1c3c0a259cd4 100644 |
--- a/chrome/browser/crash_handler_host_linux.h |
+++ b/chrome/browser/crash_handler_host_linux.h |
@@ -10,7 +10,8 @@ |
#include "base/message_loop.h" |
#include "base/scoped_ptr.h" |
-#include "base/singleton.h" |
+ |
+template <typename T> struct DefaultSingletonTraits; |
namespace base { |
class Thread; |
@@ -79,6 +80,10 @@ class CrashHandlerHostLinux : public MessageLoopForIO::Watcher, |
}; |
class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux { |
+ public: |
+ // Returns the singleton instance. |
+ static PluginCrashHandlerHostLinux* GetInstance(); |
+ |
private: |
friend struct DefaultSingletonTraits<PluginCrashHandlerHostLinux>; |
PluginCrashHandlerHostLinux(); |
@@ -92,6 +97,10 @@ class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux { |
}; |
class RendererCrashHandlerHostLinux : public CrashHandlerHostLinux { |
+ public: |
+ // Returns the singleton instance. |
+ static RendererCrashHandlerHostLinux* GetInstance(); |
+ |
private: |
friend struct DefaultSingletonTraits<RendererCrashHandlerHostLinux>; |
RendererCrashHandlerHostLinux(); |