OLD | NEW |
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 Loading... |
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 |
OLD | NEW |