Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: chrome/browser/crash_handler_host_linux_stub.cc

Issue 6368072: Adding crash reporting on Linux for the GPU process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/crash_handler_host_linux.cc ('k') | chrome/browser/gpu_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This is a stub file which is compiled in when we are building without 5 // This is a stub file which is compiled in when we are building without
6 // breakpad support. 6 // breakpad support.
7 7
8 #include "chrome/browser/crash_handler_host_linux.h" 8 #include "chrome/browser/crash_handler_host_linux.h"
9 9
10 #include "base/singleton.h" 10 #include "base/singleton.h"
11 11
12 CrashHandlerHostLinux::CrashHandlerHostLinux() 12 CrashHandlerHostLinux::CrashHandlerHostLinux()
13 : process_socket_(-1), 13 : process_socket_(-1),
14 browser_socket_(-1) { 14 browser_socket_(-1) {
15 } 15 }
16 16
17 CrashHandlerHostLinux::~CrashHandlerHostLinux() { 17 CrashHandlerHostLinux::~CrashHandlerHostLinux() {
18 } 18 }
19 19
20 void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) { 20 void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
21 } 21 }
22 22
23 void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) { 23 void CrashHandlerHostLinux::OnFileCanWriteWithoutBlocking(int fd) {
24 } 24 }
25 25
26 void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() { 26 void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() {
27 } 27 }
28 28
29 GpuCrashHandlerHostLinux::GpuCrashHandlerHostLinux() {
30 }
31
32 GpuCrashHandlerHostLinux::~GpuCrashHandlerHostLinux() {
33 }
34
35 // static
36 GpuCrashHandlerHostLinux* GpuCrashHandlerHostLinux::GetInstance() {
37 return Singleton<GpuCrashHandlerHostLinux>::get();
38 }
39
29 PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() { 40 PluginCrashHandlerHostLinux::PluginCrashHandlerHostLinux() {
30 } 41 }
31 42
32 PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() { 43 PluginCrashHandlerHostLinux::~PluginCrashHandlerHostLinux() {
33 } 44 }
34 45
35 // static 46 // static
36 PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() { 47 PluginCrashHandlerHostLinux* PluginCrashHandlerHostLinux::GetInstance() {
37 return Singleton<PluginCrashHandlerHostLinux>::get(); 48 return Singleton<PluginCrashHandlerHostLinux>::get();
38 } 49 }
39 50
40 RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() { 51 RendererCrashHandlerHostLinux::RendererCrashHandlerHostLinux() {
41 } 52 }
42 53
43 RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() { 54 RendererCrashHandlerHostLinux::~RendererCrashHandlerHostLinux() {
44 } 55 }
45 56
46 // static 57 // static
47 RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { 58 RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() {
48 return Singleton<RendererCrashHandlerHostLinux>::get(); 59 return Singleton<RendererCrashHandlerHostLinux>::get();
49 } 60 }
OLDNEW
« no previous file with comments | « chrome/browser/crash_handler_host_linux.cc ('k') | chrome/browser/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698