OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint" | 7 #define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint" |
8 | 8 |
9 #include "chrome/app/breakpad_linuxish.h" | 9 #include "chrome/app/breakpad_linux.h" |
10 | 10 |
11 #include <fcntl.h> | 11 #include <fcntl.h> |
12 #include <poll.h> | 12 #include <poll.h> |
13 #include <stdlib.h> | 13 #include <stdlib.h> |
14 #include <sys/socket.h> | 14 #include <sys/socket.h> |
15 #include <sys/time.h> | 15 #include <sys/time.h> |
16 #include <sys/types.h> | 16 #include <sys/types.h> |
17 #include <sys/wait.h> | 17 #include <sys/wait.h> |
18 #include <sys/uio.h> | 18 #include <sys/uio.h> |
19 #include <time.h> | 19 #include <time.h> |
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 g_process_start_time = timeval_to_ms(&tv); | 1159 g_process_start_time = timeval_to_ms(&tv); |
1160 else | 1160 else |
1161 g_process_start_time = 0; | 1161 g_process_start_time = 0; |
1162 | 1162 |
1163 logging::SetDumpWithoutCrashingFunction(&DumpProcess); | 1163 logging::SetDumpWithoutCrashingFunction(&DumpProcess); |
1164 } | 1164 } |
1165 | 1165 |
1166 bool IsCrashReporterEnabled() { | 1166 bool IsCrashReporterEnabled() { |
1167 return g_is_crash_reporter_enabled; | 1167 return g_is_crash_reporter_enabled; |
1168 } | 1168 } |
OLD | NEW |