| 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/breakpad/app/breakpad_linux.h" | 8 #include "components/crash/app/breakpad_linux.h" |
| 9 | 9 |
| 10 #include <fcntl.h> | 10 #include <fcntl.h> |
| 11 #include <poll.h> | 11 #include <poll.h> |
| 12 #include <signal.h> | 12 #include <signal.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/uio.h> | 17 #include <sys/uio.h> |
| 18 #include <sys/wait.h> | 18 #include <sys/wait.h> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 31 #include "base/path_service.h" | 31 #include "base/path_service.h" |
| 32 #include "base/posix/eintr_wrapper.h" | 32 #include "base/posix/eintr_wrapper.h" |
| 33 #include "base/posix/global_descriptors.h" | 33 #include "base/posix/global_descriptors.h" |
| 34 #include "base/process/memory.h" | 34 #include "base/process/memory.h" |
| 35 #include "base/strings/string_util.h" | 35 #include "base/strings/string_util.h" |
| 36 #include "breakpad/src/client/linux/crash_generation/crash_generation_client.h" | 36 #include "breakpad/src/client/linux/crash_generation/crash_generation_client.h" |
| 37 #include "breakpad/src/client/linux/handler/exception_handler.h" | 37 #include "breakpad/src/client/linux/handler/exception_handler.h" |
| 38 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" | 38 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" |
| 39 #include "breakpad/src/common/linux/linux_libc_support.h" | 39 #include "breakpad/src/common/linux/linux_libc_support.h" |
| 40 #include "breakpad/src/common/memory.h" | 40 #include "breakpad/src/common/memory.h" |
| 41 #include "components/breakpad/app/breakpad_client.h" | 41 #include "components/crash/app/breakpad_client.h" |
| 42 #include "components/breakpad/app/breakpad_linux_impl.h" | 42 #include "components/crash/app/breakpad_linux_impl.h" |
| 43 #include "content/public/common/content_descriptors.h" | 43 #include "content/public/common/content_descriptors.h" |
| 44 | 44 |
| 45 #if defined(OS_ANDROID) | 45 #if defined(OS_ANDROID) |
| 46 #include <android/log.h> | 46 #include <android/log.h> |
| 47 #include <sys/stat.h> | 47 #include <sys/stat.h> |
| 48 | 48 |
| 49 #include "base/android/build_info.h" | 49 #include "base/android/build_info.h" |
| 50 #include "base/android/path_utils.h" | 50 #include "base/android/path_utils.h" |
| 51 #endif | 51 #endif |
| 52 #include "third_party/lss/linux_syscall_support.h" | 52 #include "third_party/lss/linux_syscall_support.h" |
| (...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1606 } | 1606 } |
| 1607 } | 1607 } |
| 1608 } | 1608 } |
| 1609 #endif // OS_ANDROID | 1609 #endif // OS_ANDROID |
| 1610 | 1610 |
| 1611 bool IsCrashReporterEnabled() { | 1611 bool IsCrashReporterEnabled() { |
| 1612 return g_is_crash_reporter_enabled; | 1612 return g_is_crash_reporter_enabled; |
| 1613 } | 1613 } |
| 1614 | 1614 |
| 1615 } // namespace breakpad | 1615 } // namespace breakpad |
| OLD | NEW |