Upstream crash changes for android.

Third time is a charm.

Original Reviews:

https://chromiumcodereview.appspot.com/9838033/
http://codereview.chromium.org/9967017

Revert "Revert 131593"

This reverts commit e306ea7f630d4264075913ea3a1a728d98ca9605.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9960072

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131662 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/crash_handler_host_linuxish_stub.cc b/chrome/browser/crash_handler_host_linuxish_stub.cc
new file mode 100644
index 0000000..8101c8f
--- /dev/null
+++ b/chrome/browser/crash_handler_host_linuxish_stub.cc
@@ -0,0 +1,82 @@
+// Copyright (c) 2012 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_linuxish.h"
+
+#include "base/memory/singleton.h"
+
+CrashHandlerHostLinux::CrashHandlerHostLinux()
+    : process_socket_(-1),
+      browser_socket_(-1) {
+}
+
+CrashHandlerHostLinux::~CrashHandlerHostLinux() {
+}
+
+void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
+}
+
+void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) {
+}
+
+void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() {
+}
+
+ExtensionCrashHandlerHostLinux::ExtensionCrashHandlerHostLinux() {
+}
+
+ExtensionCrashHandlerHostLinux::~ExtensionCrashHandlerHostLinux() {
+}
+
+// static
+ExtensionCrashHandlerHostLinux* ExtensionCrashHandlerHostLinux::GetInstance() {
+  return Singleton<ExtensionCrashHandlerHostLinux>::get();
+}
+
+GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() {
+}
+
+GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() {
+}
+
+// static
+GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() {
+  return Singleton<GpuCrashHandlerHostLinux>::get();
+}
+
+PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() {
+}
+
+PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() {
+}
+
+// static
+PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() {
+  return Singleton<PluginCrashHandlerHostLinux>::get();
+}
+
+PpapiCrashHandlerHostLinux::PpapiCrashHandlerHostLinux() {
+}
+
+PpapiCrashHandlerHostLinux::~PpapiCrashHandlerHostLinux() {
+}
+
+// static
+PpapiCrashHandlerHostLinux* PpapiCrashHandlerHostLinux::GetInstance() {
+  return Singleton<PpapiCrashHandlerHostLinux>::get();
+}
+
+RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() {
+}
+
+RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() {
+}
+
+// static
+RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() {
+  return Singleton<RendererCrashHandlerHostLinux>::get();
+}