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/breakpad/app/breakpad_linux.h" |
9 | 9 |
10 #include <fcntl.h> | 10 #include <fcntl.h> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include <algorithm> | 22 #include <algorithm> |
23 #include <string> | 23 #include <string> |
24 | 24 |
25 #include "base/base_switches.h" | 25 #include "base/base_switches.h" |
26 #include "base/command_line.h" | 26 #include "base/command_line.h" |
27 #include "base/debug/crash_logging.h" | 27 #include "base/debug/crash_logging.h" |
28 #include "base/debug/dump_without_crashing.h" | 28 #include "base/debug/dump_without_crashing.h" |
29 #include "base/files/file_path.h" | 29 #include "base/files/file_path.h" |
30 #include "base/linux_util.h" | 30 #include "base/linux_util.h" |
31 #include "base/path_service.h" | 31 #include "base/path_service.h" |
32 #include "base/platform_file.h" | |
33 #include "base/posix/eintr_wrapper.h" | 32 #include "base/posix/eintr_wrapper.h" |
34 #include "base/posix/global_descriptors.h" | 33 #include "base/posix/global_descriptors.h" |
35 #include "base/process/memory.h" | 34 #include "base/process/memory.h" |
36 #include "base/strings/string_util.h" | 35 #include "base/strings/string_util.h" |
37 #include "breakpad/src/client/linux/crash_generation/crash_generation_client.h" | 36 #include "breakpad/src/client/linux/crash_generation/crash_generation_client.h" |
38 #include "breakpad/src/client/linux/handler/exception_handler.h" | 37 #include "breakpad/src/client/linux/handler/exception_handler.h" |
39 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" | 38 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" |
40 #include "breakpad/src/common/linux/linux_libc_support.h" | 39 #include "breakpad/src/common/linux/linux_libc_support.h" |
41 #include "breakpad/src/common/memory.h" | 40 #include "breakpad/src/common/memory.h" |
42 #include "components/breakpad/app/breakpad_client.h" | 41 #include "components/breakpad/app/breakpad_client.h" |
(...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1607 } | 1606 } |
1608 } | 1607 } |
1609 } | 1608 } |
1610 #endif // OS_ANDROID | 1609 #endif // OS_ANDROID |
1611 | 1610 |
1612 bool IsCrashReporterEnabled() { | 1611 bool IsCrashReporterEnabled() { |
1613 return g_is_crash_reporter_enabled; | 1612 return g_is_crash_reporter_enabled; |
1614 } | 1613 } |
1615 | 1614 |
1616 } // namespace breakpad | 1615 } // namespace breakpad |
OLD | NEW |