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

Side by Side Diff: components/crash/content/app/breakpad_linux.cc

Issue 2885053005: Give v8 a chance to handle signals (Closed)
Patch Set: Rebasing Created 3 years, 5 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
« no previous file with comments | « components/crash/content/app/breakpad_linux.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // For linux_syscall_support.h. This makes it safe to call embedded system 5 // For linux_syscall_support.h. This makes it safe to call embedded system
6 // calls when in seccomp mode. 6 // calls when in seccomp mode.
7 7
8 #include "components/crash/content/app/breakpad_linux.h" 8 #include "components/crash/content/app/breakpad_linux.h"
9 9
10 #include <fcntl.h> 10 #include <fcntl.h>
(...skipping 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 2092
2093 void SuppressDumpGeneration() { 2093 void SuppressDumpGeneration() {
2094 g_dumps_suppressed = G_DUMPS_SUPPRESSED_MAGIC; 2094 g_dumps_suppressed = G_DUMPS_SUPPRESSED_MAGIC;
2095 } 2095 }
2096 #endif // OS_ANDROID 2096 #endif // OS_ANDROID
2097 2097
2098 bool IsCrashReporterEnabled() { 2098 bool IsCrashReporterEnabled() {
2099 return g_is_crash_reporter_enabled; 2099 return g_is_crash_reporter_enabled;
2100 } 2100 }
2101 2101
2102 void SetFirstChanceExceptionHandler(bool (*handler)(int, void*, void*)) {
2103 google_breakpad::SetFirstChanceExceptionHandler(handler);
2104 }
2105
2102 } // namespace breakpad 2106 } // namespace breakpad
OLDNEW
« no previous file with comments | « components/crash/content/app/breakpad_linux.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698