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

Unified Diff: chrome/browser/crash_handler_host_posix_stub.cc

Issue 9838033: Upstream native crash handling changes for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: breakpad gyp changes Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/crash_handler_host_posix_stub.cc
diff --git a/chrome/browser/crash_handler_host_posix_stub.cc b/chrome/browser/crash_handler_host_posix_stub.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6c1f2147e0399eb1af489a62af353725b5cb00d1
--- /dev/null
+++ b/chrome/browser/crash_handler_host_posix_stub.cc
@@ -0,0 +1,82 @@
+// 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_posix.h"
+
+#include "base/memory/singleton.h"
+
+CrashHandlerHostPosix::CrashHandlerHostPosix()
+ : process_socket_(-1),
+ browser_socket_(-1) {
+}
+
+CrashHandlerHostPosix::~CrashHandlerHostPosix() {
+}
+
+void CrashHandlerHostPosix::OnFileCanReadWithoutBlocking(int fd) {
+}
+
+void CrashHandlerHostPosix::OnFileCanWriteWithoutBlocking(int fd) {
+}
+
+void CrashHandlerHostPosix::WillDestroyCurrentMessageLoop() {
+}
+
+ExtensionCrashHandlerHostPosix::ExtensionCrashHandlerHostPosix() {
+}
+
+ExtensionCrashHandlerHostPosix::~ExtensionCrashHandlerHostPosix() {
+}
+
+// static
+ExtensionCrashHandlerHostPosix* ExtensionCrashHandlerHostPosix::GetInstance() {
+ return Singleton<ExtensionCrashHandlerHostPosix>::get();
+}
+
+GpuCrashHandlerHostPosix::GpuCrashHandlerHostPosix() {
+}
+
+GpuCrashHandlerHostPosix::~GpuCrashHandlerHostPosix() {
+}
+
+// static
+GpuCrashHandlerHostPosix* GpuCrashHandlerHostPosix::GetInstance() {
+ return Singleton<GpuCrashHandlerHostPosix>::get();
+}
+
+PluginCrashHandlerHostPosix::PluginCrashHandlerHostPosix() {
+}
+
+PluginCrashHandlerHostPosix::~PluginCrashHandlerHostPosix() {
+}
+
+// static
+PluginCrashHandlerHostPosix* PluginCrashHandlerHostPosix::GetInstance() {
+ return Singleton<PluginCrashHandlerHostPosix>::get();
+}
+
+PpapiCrashHandlerHostPosix::PpapiCrashHandlerHostPosix() {
+}
+
+PpapiCrashHandlerHostPosix::~PpapiCrashHandlerHostPosix() {
+}
+
+// static
+PpapiCrashHandlerHostPosix* PpapiCrashHandlerHostPosix::GetInstance() {
+ return Singleton<PpapiCrashHandlerHostPosix>::get();
+}
+
+RendererCrashHandlerHostPosix::RendererCrashHandlerHostPosix() {
+}
+
+RendererCrashHandlerHostPosix::~RendererCrashHandlerHostPosix() {
+}
+
+// static
+RendererCrashHandlerHostPosix* RendererCrashHandlerHostPosix::GetInstance() {
+ return Singleton<RendererCrashHandlerHostPosix>::get();
+}

Powered by Google App Engine
This is Rietveld 408576698