[email protected] | b064f0eb | 2010-09-02 23:53:26 | [diff] [blame] | 1 | // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
[email protected] | 2456c57 | 2009-11-09 04:21:51 | [diff] [blame] | 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 | |||||
[email protected] | d3c6c0d7 | 2010-12-09 08:15:04 | [diff] [blame] | 10 | #include "base/singleton.h" |
11 | |||||
[email protected] | 2456c57 | 2009-11-09 04:21:51 | [diff] [blame] | 12 | CrashHandlerHostLinux::CrashHandlerHostLinux() |
13 | : process_socket_(-1), | ||||
14 | browser_socket_(-1) { | ||||
15 | } | ||||
16 | |||||
17 | CrashHandlerHostLinux::~CrashHandlerHostLinux() { | ||||
18 | } | ||||
19 | |||||
20 | void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) { | ||||
21 | } | ||||
22 | |||||
23 | void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) { | ||||
24 | } | ||||
25 | |||||
26 | void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() { | ||||
27 | } | ||||
[email protected] | b064f0eb | 2010-09-02 23:53:26 | [diff] [blame] | 28 | |
[email protected] | 9289af82 | 2011-02-03 18:21:20 | [diff] [blame^] | 29 | GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() { |
30 | } | ||||
31 | |||||
32 | GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() { | ||||
33 | } | ||||
34 | |||||
35 | // static | ||||
36 | GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() { | ||||
37 | return Singleton<GpuCrashHandlerHostLinux>::get(); | ||||
38 | } | ||||
39 | |||||
[email protected] | b064f0eb | 2010-09-02 23:53:26 | [diff] [blame] | 40 | PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() { |
41 | } | ||||
42 | |||||
43 | PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() { | ||||
44 | } | ||||
45 | |||||
[email protected] | d3c6c0d7 | 2010-12-09 08:15:04 | [diff] [blame] | 46 | // static |
47 | PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() { | ||||
48 | return Singleton<PluginCrashHandlerHostLinux>::get(); | ||||
49 | } | ||||
50 | |||||
[email protected] | b064f0eb | 2010-09-02 23:53:26 | [diff] [blame] | 51 | RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() { |
52 | } | ||||
53 | |||||
54 | RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() { | ||||
55 | } | ||||
[email protected] | d3c6c0d7 | 2010-12-09 08:15:04 | [diff] [blame] | 56 | |
57 | // static | ||||
58 | RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { | ||||
59 | return Singleton<RendererCrashHandlerHostLinux>::get(); | ||||
60 | } |