Override server-side simple-cache trial with commandline switches.
[chromium-blink-merge.git] / chrome / browser / crash_handler_host_linux_stub.cc
blobfc81c273cd94d8a9bc553675391b8efcb0d1dd2f
1 // Copyright (c) 2012 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.
5 // This is a stub file which is compiled in when we are building without
6 // breakpad support.
8 #include "chrome/browser/crash_handler_host_linux.h"
10 #include "base/memory/singleton.h"
12 CrashHandlerHostLinux::CrashHandlerHostLinux()
13 : process_socket_(-1),
14 browser_socket_(-1) {
17 CrashHandlerHostLinux::~CrashHandlerHostLinux() {
20 void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
23 void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) {
26 void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() {
29 ExtensionCrashHandlerHostLinux::ExtensionCrashHandlerHostLinux() {
32 ExtensionCrashHandlerHostLinux::~ExtensionCrashHandlerHostLinux() {
35 // static
36 ExtensionCrashHandlerHostLinux* ExtensionCrashHandlerHostLinux::GetInstance() {
37 return Singleton<ExtensionCrashHandlerHostLinux>::get();
40 GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() {
43 GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() {
46 // static
47 GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() {
48 return Singleton<GpuCrashHandlerHostLinux>::get();
51 PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() {
54 PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() {
57 // static
58 PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() {
59 return Singleton<PluginCrashHandlerHostLinux>::get();
62 PpapiCrashHandlerHostLinux::PpapiCrashHandlerHostLinux() {
65 PpapiCrashHandlerHostLinux::~PpapiCrashHandlerHostLinux() {
68 // static
69 PpapiCrashHandlerHostLinux* PpapiCrashHandlerHostLinux::GetInstance() {
70 return Singleton<PpapiCrashHandlerHostLinux>::get();
73 RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() {
76 RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() {
79 // static
80 RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() {
81 return Singleton<RendererCrashHandlerHostLinux>::get();