| 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_linux.h" | 9 #include "chrome/app/breakpad_linux.h" |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "base/string_util.h" | 34 #include "base/string_util.h" |
| 35 #include "breakpad/src/client/linux/handler/exception_handler.h" | 35 #include "breakpad/src/client/linux/handler/exception_handler.h" |
| 36 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" | 36 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" |
| 37 #include "breakpad/src/common/linux/linux_libc_support.h" | 37 #include "breakpad/src/common/linux/linux_libc_support.h" |
| 38 #include "breakpad/src/common/memory.h" | 38 #include "breakpad/src/common/memory.h" |
| 39 #include "chrome/browser/crash_upload_list.h" | 39 #include "chrome/browser/crash_upload_list.h" |
| 40 #include "chrome/common/child_process_logging.h" | 40 #include "chrome/common/child_process_logging.h" |
| 41 #include "chrome/common/chrome_paths.h" | 41 #include "chrome/common/chrome_paths.h" |
| 42 #include "chrome/common/chrome_switches.h" | 42 #include "chrome/common/chrome_switches.h" |
| 43 #include "chrome/common/chrome_version_info_posix.h" | 43 #include "chrome/common/chrome_version_info_posix.h" |
| 44 #include "chrome/common/dump_without_crashing.h" |
| 44 #include "chrome/common/env_vars.h" | 45 #include "chrome/common/env_vars.h" |
| 45 #include "chrome/common/logging_chrome.h" | 46 #include "chrome/common/logging_chrome.h" |
| 46 #include "content/public/common/content_descriptors.h" | 47 #include "content/public/common/content_descriptors.h" |
| 47 | 48 |
| 48 #if defined(OS_ANDROID) | 49 #if defined(OS_ANDROID) |
| 49 #include <android/log.h> | 50 #include <android/log.h> |
| 50 #include <sys/stat.h> | 51 #include <sys/stat.h> |
| 51 | 52 |
| 52 #include "base/android/build_info.h" | 53 #include "base/android/build_info.h" |
| 53 #include "base/android/path_utils.h" | 54 #include "base/android/path_utils.h" |
| (...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1483 } else { | 1484 } else { |
| 1484 EnableNonBrowserCrashDumping(minidump_fd); | 1485 EnableNonBrowserCrashDumping(minidump_fd); |
| 1485 } | 1486 } |
| 1486 } | 1487 } |
| 1487 } | 1488 } |
| 1488 #endif // OS_ANDROID | 1489 #endif // OS_ANDROID |
| 1489 | 1490 |
| 1490 bool IsCrashReporterEnabled() { | 1491 bool IsCrashReporterEnabled() { |
| 1491 return g_is_crash_reporter_enabled; | 1492 return g_is_crash_reporter_enabled; |
| 1492 } | 1493 } |
| OLD | NEW |