Index: chrome/browser/crash_handler_host_posix_stub.cc |
diff --git a/chrome/browser/crash_handler_host_posix_stub.cc b/chrome/browser/crash_handler_host_posix_stub.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6c1f2147e0399eb1af489a62af353725b5cb00d1 |
--- /dev/null |
+++ b/chrome/browser/crash_handler_host_posix_stub.cc |
@@ -0,0 +1,82 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// This is a stub file which is compiled in when we are building without |
+// breakpad support. |
+ |
+#include "chrome/browser/crash_handler_host_posix.h" |
+ |
+#include "base/memory/singleton.h" |
+ |
+CrashHandlerHostPosix::CrashHandlerHostPosix() |
+ : process_socket_(-1), |
+ browser_socket_(-1) { |
+} |
+ |
+CrashHandlerHostPosix::~CrashHandlerHostPosix() { |
+} |
+ |
+void CrashHandlerHostPosix::OnFileCanReadWithoutBlocking(int fd) { |
+} |
+ |
+void CrashHandlerHostPosix::OnFileCanWriteWithoutBlocking(int fd) { |
+} |
+ |
+void CrashHandlerHostPosix::WillDestroyCurrentMessageLoop() { |
+} |
+ |
+ExtensionCrashHandlerHostPosix::ExtensionCrashHandlerHostPosix() { |
+} |
+ |
+ExtensionCrashHandlerHostPosix::~ExtensionCrashHandlerHostPosix() { |
+} |
+ |
+// static |
+ExtensionCrashHandlerHostPosix* ExtensionCrashHandlerHostPosix::GetInstance() { |
+ return Singleton<ExtensionCrashHandlerHostPosix>::get(); |
+} |
+ |
+GpuCrashHandlerHostPosix::GpuCrashHandlerHostPosix() { |
+} |
+ |
+GpuCrashHandlerHostPosix::~GpuCrashHandlerHostPosix() { |
+} |
+ |
+// static |
+GpuCrashHandlerHostPosix* GpuCrashHandlerHostPosix::GetInstance() { |
+ return Singleton<GpuCrashHandlerHostPosix>::get(); |
+} |
+ |
+PluginCrashHandlerHostPosix::PluginCrashHandlerHostPosix() { |
+} |
+ |
+PluginCrashHandlerHostPosix::~PluginCrashHandlerHostPosix() { |
+} |
+ |
+// static |
+PluginCrashHandlerHostPosix* PluginCrashHandlerHostPosix::GetInstance() { |
+ return Singleton<PluginCrashHandlerHostPosix>::get(); |
+} |
+ |
+PpapiCrashHandlerHostPosix::PpapiCrashHandlerHostPosix() { |
+} |
+ |
+PpapiCrashHandlerHostPosix::~PpapiCrashHandlerHostPosix() { |
+} |
+ |
+// static |
+PpapiCrashHandlerHostPosix* PpapiCrashHandlerHostPosix::GetInstance() { |
+ return Singleton<PpapiCrashHandlerHostPosix>::get(); |
+} |
+ |
+RendererCrashHandlerHostPosix::RendererCrashHandlerHostPosix() { |
+} |
+ |
+RendererCrashHandlerHostPosix::~RendererCrashHandlerHostPosix() { |
+} |
+ |
+// static |
+RendererCrashHandlerHostPosix* RendererCrashHandlerHostPosix::GetInstance() { |
+ return Singleton<RendererCrashHandlerHostPosix>::get(); |
+} |