diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-09 20:10:17 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-09 20:10:17 +0000 |
commit | 9cdd080dcaf1108e0d0f9dcac65adb836401d4e8 (patch) | |
tree | 58d6d4493dea55beebf54dac366ee7f85cddb72a /chrome/browser/crash_handler_host_linux_stub.cc | |
parent | 4eff7becd7a6be9621ae807c7aa3627d95c5913b (diff) | |
download | chromium_src-9cdd080dcaf1108e0d0f9dcac65adb836401d4e8.zip chromium_src-9cdd080dcaf1108e0d0f9dcac65adb836401d4e8.tar.gz chromium_src-9cdd080dcaf1108e0d0f9dcac65adb836401d4e8.tar.bz2 |
Revert 131404 - Upstream native crash handling changes for Android.
Android native crash handling is almost identical to linux handling with
some differences.
Note that even after this change Chrome on Android will not compile with
the USE_LINUX_BREAKPAD flag. Forthcomming changes in breakpad should
remedy this state of affairs.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9838033
TBR=carlosvaldivia@google.com
Review URL: https://chromiumcodereview.appspot.com/9999004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux_stub.cc')
-rw-r--r-- | chrome/browser/crash_handler_host_linux_stub.cc | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/chrome/browser/crash_handler_host_linux_stub.cc b/chrome/browser/crash_handler_host_linux_stub.cc new file mode 100644 index 0000000..8685846 --- /dev/null +++ b/chrome/browser/crash_handler_host_linux_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_linux.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(); +} |