| Index: chrome/browser/crash_handler_host_linux.cc
|
| diff --git a/chrome/browser/crash_handler_host_linux.cc b/chrome/browser/crash_handler_host_linux.cc
|
| index 5474a47c688cdfe4b9c4c686a8ded8cb1236798c..196352aff261fc9bddf55e0810ad17ffd1d4d91f 100644
|
| --- a/chrome/browser/crash_handler_host_linux.cc
|
| +++ b/chrome/browser/crash_handler_host_linux.cc
|
| @@ -19,6 +19,7 @@
|
| #include "base/message_loop.h"
|
| #include "base/path_service.h"
|
| #include "base/rand_util.h"
|
| +#include "base/singleton.h"
|
| #include "base/string_util.h"
|
| #include "base/task.h"
|
| #include "base/thread.h"
|
| @@ -364,6 +365,11 @@ void PluginCrashHandlerHostLinux::SetProcessType() {
|
| process_type_ = "plugin";
|
| }
|
|
|
| +// static
|
| +PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() {
|
| + return Singleton<PluginCrashHandlerHostLinux>::get();
|
| +}
|
| +
|
| RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() {
|
| InitCrashUploaderThread();
|
| }
|
| @@ -374,3 +380,8 @@ RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() {
|
| void RendererCrashHandlerHostLinux::SetProcessType() {
|
| process_type_ = "renderer";
|
| }
|
| +
|
| +// static
|
| +RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() {
|
| + return Singleton<RendererCrashHandlerHostLinux>::get();
|
| +}
|
|
|