mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
Include-what-you-use related to logging.h
Add direct includes for things provided transitively by logging.h (or by other headers including logging.h). This is in preparation for cleaning up unnecessary includes of logging.h in header files (so if something depends on logging.h, it needs include it explicitly), and for when Chromium's logging.h no longer includes check.h, check_op.h, and notreached.h. DEPS is also updated to roll mini_chromium to ae14a14ab4 which includes these new header files. Bug: chromium:1031540 Change-Id: I36f646d0a93854989dc602d0dc7139dd7a7b8621 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2250251 Commit-Queue: Hans Wennborg <hans@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
38f6034998
commit
032f1aecc2
2
DEPS
2
DEPS
@ -42,7 +42,7 @@ deps = {
|
||||
'7bde79cc274d06451bf65ae82c012a5d3e476b5a',
|
||||
'crashpad/third_party/mini_chromium/mini_chromium':
|
||||
Var('chromium_git') + '/chromium/mini_chromium@' +
|
||||
'8ca5ea356cdb97913d62d379d503567a80d90726',
|
||||
'ae14a14ab4cea36db9c446741581d427a7fc7f89',
|
||||
'crashpad/third_party/libfuzzer/src':
|
||||
Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git@' +
|
||||
'fda403cf93ecb8792cb1d061564d89a6553ca020',
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/macros.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/mach_logging.h"
|
||||
#include "base/mac/scoped_mach_port.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
#include "base/debug/alias.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/stl_util.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/stl_util.h"
|
||||
#include "snapshot/memory_snapshot.h"
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/macros.h"
|
||||
#include "snapshot/cpu_context.h"
|
||||
#include "util/numeric/checked_range.h"
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "base/strings/string_piece.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "util/mac/checked_mach_address_range.h"
|
||||
#include "util/process/process_memory_mac.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/format_macros.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "util/numeric/checked_range.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/macros.h"
|
||||
#include "base/numerics/safe_math.h"
|
||||
#include "snapshot/memory_snapshot.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/stl_util.h"
|
||||
#include "minidump/minidump_context.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "minidump/minidump_extensions.h"
|
||||
#include "snapshot/minidump/minidump_annotation_reader.h"
|
||||
#include "snapshot/minidump/minidump_simple_string_dictionary_reader.h"
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "minidump/minidump_extensions.h"
|
||||
#include "snapshot/memory_map_region_snapshot.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "snapshot/minidump/system_snapshot_minidump.h"
|
||||
|
||||
#include "base/notreached.h"
|
||||
#include "snapshot/minidump/minidump_string_reader.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "snapshot/sanitized/process_snapshot_sanitized.h"
|
||||
|
||||
#include "base/macros.h"
|
||||
#include "base/notreached.h"
|
||||
#include "build/build_config.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "test/multiprocess_exec.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "client/annotation.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "snapshot/win/exception_snapshot_win.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "client/crashpad_client.h"
|
||||
#include "snapshot/capture_memory.h"
|
||||
#include "snapshot/memory_snapshot.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/stl_util.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "client/annotation.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "base/notreached.h"
|
||||
#include "build/build_config.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "util/file/file_io.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <tlhelp32.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "test/errors.h"
|
||||
#include "util/process/process_id.h"
|
||||
#include "util/win/process_info.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "util/file/file_io.h"
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/macros.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
|
||||
namespace {
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "util/file/output_stream_file_writer.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "util/stream/output_stream_interface.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "third_party/lss/lss.h"
|
||||
|
@ -26,9 +26,11 @@
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/mach_logging.h"
|
||||
#include "base/mac/scoped_mach_port.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "base/rand_util.h"
|
||||
#include "base/stl_util.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "util/mach/composite_mach_message_server.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
|
||||
#include "base/logging.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/mach_logging.h"
|
||||
#include "base/notreached.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <kern/exc_resource.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/mach_logging.h"
|
||||
#include "util/mac/mac_util.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "util/mach/scoped_task_suspend.h"
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/mach_logging.h"
|
||||
|
||||
|
@ -14,7 +14,9 @@
|
||||
|
||||
#include "util/misc/capture_context.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include <ostream>
|
||||
|
||||
#include "base/check.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
||||
|
@ -16,7 +16,9 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include <ostream>
|
||||
|
||||
#include "base/check.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
|
@ -14,7 +14,9 @@
|
||||
|
||||
#include "util/misc/zlib.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include <ostream>
|
||||
|
||||
#include "base/check.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "third_party/zlib/zlib_crashpad.h"
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "util/numeric/checked_address_range.h"
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/format_macros.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
|
@ -14,7 +14,9 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include <ostream>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/numerics/safe_math.h"
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/stl_util.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "util/numeric/safe_assignment.h"
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/check.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/check.h"
|
||||
#include "base/logging.h"
|
||||
|
||||
#if defined(OS_ANDROID)
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "util/synchronization/semaphore.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <ostream>
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include "base/check_op.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "util/misc/time.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <ostream>
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
|
@ -16,7 +16,9 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include <ostream>
|
||||
|
||||
#include "base/check.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
||||
|
@ -14,7 +14,9 @@
|
||||
|
||||
#include "util/thread/thread.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include <ostream>
|
||||
|
||||
#include "base/check.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/strings/string16.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "test/errors.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "util/win/scoped_set_event.h"
|
||||
|
||||
#include "base/check.h"
|
||||
#include "base/logging.h"
|
||||
|
||||
namespace crashpad {
|
||||
|
Loading…
x
Reference in New Issue
Block a user