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/app/breakpad_linux.h" | 8 #include "components/crash/content/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 13 matching lines...) Expand all Loading... |
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 "build/build_config.h" | 41 #include "build/build_config.h" |
42 #include "components/crash/app/breakpad_linux_impl.h" | 42 #include "components/crash/content/app/breakpad_linux_impl.h" |
43 #include "components/crash/app/crash_reporter_client.h" | 43 #include "components/crash/content/app/crash_reporter_client.h" |
44 #include "content/public/common/content_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 "base/debug/leak_annotations.h" | 52 #include "base/debug/leak_annotations.h" |
53 #endif | 53 #endif |
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1751 } | 1751 } |
1752 } | 1752 } |
1753 } | 1753 } |
1754 #endif // OS_ANDROID | 1754 #endif // OS_ANDROID |
1755 | 1755 |
1756 bool IsCrashReporterEnabled() { | 1756 bool IsCrashReporterEnabled() { |
1757 return g_is_crash_reporter_enabled; | 1757 return g_is_crash_reporter_enabled; |
1758 } | 1758 } |
1759 | 1759 |
1760 } // namespace breakpad | 1760 } // namespace breakpad |
OLD | NEW |