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_linuxish.h" |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" | 34 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" |
35 #include "breakpad/src/common/linux/linux_libc_support.h" | 35 #include "breakpad/src/common/linux/linux_libc_support.h" |
36 #include "breakpad/src/common/memory.h" | 36 #include "breakpad/src/common/memory.h" |
37 #include "chrome/browser/crash_upload_list.h" | 37 #include "chrome/browser/crash_upload_list.h" |
38 #include "chrome/common/child_process_logging.h" | 38 #include "chrome/common/child_process_logging.h" |
39 #include "chrome/common/chrome_paths.h" | 39 #include "chrome/common/chrome_paths.h" |
40 #include "chrome/common/chrome_switches.h" | 40 #include "chrome/common/chrome_switches.h" |
41 #include "chrome/common/chrome_version_info_posix.h" | 41 #include "chrome/common/chrome_version_info_posix.h" |
42 #include "chrome/common/env_vars.h" | 42 #include "chrome/common/env_vars.h" |
43 #include "chrome/common/logging_chrome.h" | 43 #include "chrome/common/logging_chrome.h" |
44 #include "content/common/chrome_descriptors.h" | 44 #include "content/public/common/content_descriptors.h" |
45 | 45 |
46 #if defined(OS_ANDROID) | 46 #if defined(OS_ANDROID) |
47 #include <android/log.h> | 47 #include <android/log.h> |
48 #include <sys/stat.h> | 48 #include <sys/stat.h> |
49 | 49 |
50 #include "base/android/build_info.h" | 50 #include "base/android/build_info.h" |
51 #include "base/android/path_utils.h" | 51 #include "base/android/path_utils.h" |
52 #include "third_party/lss/linux_syscall_support.h" | 52 #include "third_party/lss/linux_syscall_support.h" |
53 #else | 53 #else |
54 #include "seccompsandbox/linux_syscall_support.h" | 54 #include "seccompsandbox/linux_syscall_support.h" |
(...skipping 1104 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 |