Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: components/crash/content/app/breakpad_linux.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/content/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 <stddef.h>
14 #include <stdint.h>
13 #include <stdlib.h> 15 #include <stdlib.h>
16 #include <string.h>
14 #include <sys/socket.h> 17 #include <sys/socket.h>
15 #include <sys/time.h> 18 #include <sys/time.h>
16 #include <sys/types.h> 19 #include <sys/types.h>
17 #include <sys/uio.h> 20 #include <sys/uio.h>
18 #include <sys/wait.h> 21 #include <sys/wait.h>
19 #include <time.h> 22 #include <time.h>
20 #include <unistd.h> 23 #include <unistd.h>
21 24
22 #include <algorithm> 25 #include <algorithm>
23 #include <string> 26 #include <string>
24 27
25 #include "base/base_switches.h" 28 #include "base/base_switches.h"
26 #include "base/command_line.h" 29 #include "base/command_line.h"
27 #include "base/debug/crash_logging.h" 30 #include "base/debug/crash_logging.h"
28 #include "base/debug/dump_without_crashing.h" 31 #include "base/debug/dump_without_crashing.h"
29 #include "base/files/file_path.h" 32 #include "base/files/file_path.h"
30 #include "base/lazy_instance.h" 33 #include "base/lazy_instance.h"
31 #include "base/linux_util.h" 34 #include "base/linux_util.h"
35 #include "base/macros.h"
32 #include "base/path_service.h" 36 #include "base/path_service.h"
33 #include "base/posix/eintr_wrapper.h" 37 #include "base/posix/eintr_wrapper.h"
34 #include "base/posix/global_descriptors.h" 38 #include "base/posix/global_descriptors.h"
35 #include "base/process/memory.h" 39 #include "base/process/memory.h"
36 #include "base/strings/string_util.h" 40 #include "base/strings/string_util.h"
37 #include "base/threading/thread_checker.h" 41 #include "base/threading/thread_checker.h"
38 #include "breakpad/src/client/linux/crash_generation/crash_generation_client.h" 42 #include "breakpad/src/client/linux/crash_generation/crash_generation_client.h"
39 #include "breakpad/src/client/linux/handler/exception_handler.h" 43 #include "breakpad/src/client/linux/handler/exception_handler.h"
40 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" 44 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h"
41 #include "breakpad/src/common/linux/linux_libc_support.h" 45 #include "breakpad/src/common/linux/linux_libc_support.h"
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1862 const std::string& gpu_fingerprint) { 1866 const std::string& gpu_fingerprint) {
1863 g_microdump_info.Get().SetGpuFingerprint(gpu_fingerprint); 1867 g_microdump_info.Get().SetGpuFingerprint(gpu_fingerprint);
1864 } 1868 }
1865 #endif // OS_ANDROID 1869 #endif // OS_ANDROID
1866 1870
1867 bool IsCrashReporterEnabled() { 1871 bool IsCrashReporterEnabled() {
1868 return g_is_crash_reporter_enabled; 1872 return g_is_crash_reporter_enabled;
1869 } 1873 }
1870 1874
1871 } // namespace breakpad 1875 } // namespace breakpad
OLDNEW
« no previous file with comments | « components/copresence/timed_map_unittest.cc ('k') | components/crash/content/app/breakpad_linux_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698