crash_handler_host_linux_stub.cc revision 21d179b334e59e9a3bfcaed4c4430bef1bc5759d
1// Copyright (c) 2010 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5// This is a stub file which is compiled in when we are building without 6// breakpad support. 7 8#include "chrome/browser/crash_handler_host_linux.h" 9 10#include "base/singleton.h" 11 12CrashHandlerHostLinux::CrashHandlerHostLinux() 13 : process_socket_(-1), 14 browser_socket_(-1) { 15} 16 17CrashHandlerHostLinux::~CrashHandlerHostLinux() { 18} 19 20void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) { 21} 22 23void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) { 24} 25 26void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() { 27} 28 29PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() { 30} 31 32PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() { 33} 34 35// static 36PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() { 37 return Singleton<PluginCrashHandlerHostLinux>::get(); 38} 39 40RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() { 41} 42 43RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() { 44} 45 46// static 47RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { 48 return Singleton<RendererCrashHandlerHostLinux>::get(); 49} 50