[email protected] | 6653c19 | 2012-04-10 22:52:44 | [diff] [blame] | 1 | // Copyright (c) 2012 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 | |||||
[email protected] | 1602cde | 2012-06-26 15:09:12 | [diff] [blame] | 8 | #include "chrome/browser/crash_handler_host_linux.h" |
[email protected] | 2456c57 | 2009-11-09 04:21:51 | [diff] [blame] | 9 | |
[email protected] | 3b63f8f4 | 2011-03-28 01:54:15 | [diff] [blame] | 10 | #include "base/memory/singleton.h" |
[email protected] | d3c6c0d7 | 2010-12-09 08:15:04 | [diff] [blame] | 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] | 9dbfff1 | 2011-07-01 19:37:07 | [diff] [blame] | 29 | ExtensionCrashHandlerHostLinux::ExtensionCrashHandlerHostLinux() { |
30 | } | ||||
31 | |||||
32 | ExtensionCrashHandlerHostLinux::~ExtensionCrashHandlerHostLinux() { | ||||
33 | } | ||||
34 | |||||
35 | // static | ||||
36 | ExtensionCrashHandlerHostLinux* ExtensionCrashHandlerHostLinux::GetInstance() { | ||||
37 | return Singleton<ExtensionCrashHandlerHostLinux>::get(); | ||||
38 | } | ||||
39 | |||||
[email protected] | 9289af82 | 2011-02-03 18:21:20 | [diff] [blame] | 40 | GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() { |
41 | } | ||||
42 | |||||
43 | GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() { | ||||
44 | } | ||||
45 | |||||
46 | // static | ||||
47 | GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() { | ||||
48 | return Singleton<GpuCrashHandlerHostLinux>::get(); | ||||
49 | } | ||||
50 | |||||
[email protected] | b064f0eb | 2010-09-02 23:53:26 | [diff] [blame] | 51 | PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() { |
52 | } | ||||
53 | |||||
54 | PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() { | ||||
55 | } | ||||
56 | |||||
[email protected] | d3c6c0d7 | 2010-12-09 08:15:04 | [diff] [blame] | 57 | // static |
58 | PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() { | ||||
59 | return Singleton<PluginCrashHandlerHostLinux>::get(); | ||||
60 | } | ||||
61 | |||||
[email protected] | 54457f3 | 2011-04-15 22:05:29 | [diff] [blame] | 62 | PpapiCrashHandlerHostLinux::PpapiCrashHandlerHostLinux() { |
63 | } | ||||
64 | |||||
65 | PpapiCrashHandlerHostLinux::~PpapiCrashHandlerHostLinux() { | ||||
66 | } | ||||
67 | |||||
68 | // static | ||||
69 | PpapiCrashHandlerHostLinux* PpapiCrashHandlerHostLinux::GetInstance() { | ||||
70 | return Singleton<PpapiCrashHandlerHostLinux>::get(); | ||||
71 | } | ||||
[email protected] | 9dbfff1 | 2011-07-01 19:37:07 | [diff] [blame] | 72 | |
73 | RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() { | ||||
74 | } | ||||
75 | |||||
76 | RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() { | ||||
77 | } | ||||
78 | |||||
79 | // static | ||||
80 | RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { | ||||
81 | return Singleton<RendererCrashHandlerHostLinux>::get(); | ||||
82 | } |