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 | 7 |
8 #include "chrome/app/breakpad_linux.h" | 8 #include "chrome/app/breakpad_linux.h" |
9 | 9 |
10 #include <fcntl.h> | 10 #include <fcntl.h> |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 #include "base/command_line.h" | 25 #include "base/command_line.h" |
26 #include "base/debug/crash_logging.h" | 26 #include "base/debug/crash_logging.h" |
27 #include "base/files/file_path.h" | 27 #include "base/files/file_path.h" |
28 #include "base/linux_util.h" | 28 #include "base/linux_util.h" |
29 #include "base/path_service.h" | 29 #include "base/path_service.h" |
30 #include "base/platform_file.h" | 30 #include "base/platform_file.h" |
31 #include "base/posix/eintr_wrapper.h" | 31 #include "base/posix/eintr_wrapper.h" |
32 #include "base/posix/global_descriptors.h" | 32 #include "base/posix/global_descriptors.h" |
33 #include "base/process_util.h" | 33 #include "base/process_util.h" |
34 #include "base/string_util.h" | 34 #include "base/strings/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/app/breakpad_linux_impl.h" | 39 #include "chrome/app/breakpad_linux_impl.h" |
40 #include "chrome/browser/crash_upload_list.h" | 40 #include "chrome/browser/crash_upload_list.h" |
41 #include "chrome/common/child_process_logging.h" | 41 #include "chrome/common/child_process_logging.h" |
42 #include "chrome/common/chrome_paths.h" | 42 #include "chrome/common/chrome_paths.h" |
43 #include "chrome/common/chrome_switches.h" | 43 #include "chrome/common/chrome_switches.h" |
44 #include "chrome/common/chrome_version_info_posix.h" | 44 #include "chrome/common/chrome_version_info_posix.h" |
(...skipping 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 } else { | 1524 } else { |
1525 EnableNonBrowserCrashDumping(minidump_fd); | 1525 EnableNonBrowserCrashDumping(minidump_fd); |
1526 } | 1526 } |
1527 } | 1527 } |
1528 } | 1528 } |
1529 #endif // OS_ANDROID | 1529 #endif // OS_ANDROID |
1530 | 1530 |
1531 bool IsCrashReporterEnabled() { | 1531 bool IsCrashReporterEnabled() { |
1532 return g_is_crash_reporter_enabled; | 1532 return g_is_crash_reporter_enabled; |
1533 } | 1533 } |
OLD | NEW |