• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 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/memory/singleton.h"
11 
CrashHandlerHostLinux()12 CrashHandlerHostLinux::CrashHandlerHostLinux()
13     : process_socket_(-1),
14       browser_socket_(-1) {
15 }
16 
~CrashHandlerHostLinux()17 CrashHandlerHostLinux::~CrashHandlerHostLinux() {
18 }
19 
OnFileCanReadWithoutBlocking(int fd)20 void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
21 }
22 
OnFileCanWriteWithoutBlocking(int fd)23 void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) {
24 }
25 
WillDestroyCurrentMessageLoop()26 void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() {
27 }
28 
GpuCrashHandlerHostLinux()29 GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() {
30 }
31 
~GpuCrashHandlerHostLinux()32 GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() {
33 }
34 
35 // static
GetInstance()36 GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() {
37   return Singleton<GpuCrashHandlerHostLinux>::get();
38 }
39 
PluginCrashHandlerHostLinux()40 PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() {
41 }
42 
~PluginCrashHandlerHostLinux()43 PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() {
44 }
45 
46 // static
GetInstance()47 PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() {
48   return Singleton<PluginCrashHandlerHostLinux>::get();
49 }
50 
RendererCrashHandlerHostLinux()51 RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() {
52 }
53 
~RendererCrashHandlerHostLinux()54 RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() {
55 }
56 
57 // static
GetInstance()58 RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() {
59   return Singleton<RendererCrashHandlerHostLinux>::get();
60 }
61 
PpapiCrashHandlerHostLinux()62 PpapiCrashHandlerHostLinux::PpapiCrashHandlerHostLinux() {
63 }
64 
~PpapiCrashHandlerHostLinux()65 PpapiCrashHandlerHostLinux::~PpapiCrashHandlerHostLinux() {
66 }
67 
68 // static
GetInstance()69 PpapiCrashHandlerHostLinux* PpapiCrashHandlerHostLinux::GetInstance() {
70   return Singleton<PpapiCrashHandlerHostLinux>::get();
71 }
72