summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_handler_host_linux_stub.cc
blob: 6891de19da0bf78373ad1a3fd83cf8c53ac0782d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// 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() {
}

GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() {
}

GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() {
}

// static
GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() {
  return Singleton<GpuCrashHandlerHostLinux>::get();
}

PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() {
}

PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() {
}

// static
PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() {
  return Singleton<PluginCrashHandlerHostLinux>::get();
}

RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() {
}

RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() {
}

// static
RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() {
  return Singleton<RendererCrashHandlerHostLinux>::get();
}

PpapiCrashHandlerHostLinux::PpapiCrashHandlerHostLinux() {
}

PpapiCrashHandlerHostLinux::~PpapiCrashHandlerHostLinux() {
}

// static
PpapiCrashHandlerHostLinux* PpapiCrashHandlerHostLinux::GetInstance() {
  return Singleton<PpapiCrashHandlerHostLinux>::get();
}