#include <memory>
#include "base/debug/debugging_buildflags.h"
#include "base/memory/scoped_refptr.h"
#include "components/gwp_asan/buildflags/buildflags.h"
#include "third_party/crashpad/crashpad/handler/handler_main.h"
#include "third_party/crashpad/crashpad/handler/user_stream_data_source.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
#include "components/stability_report/user_stream_data_source_posix.h"
#endif
#if BUILDFLAG(ENABLE_GWP_ASAN)
#include "components/gwp_asan/crash_handler/crash_handler.h"
#endif
#if BUILDFLAG(ENABLE_ALLOCATION_STACK_TRACE_RECORDER)
#include "components/allocation_recorder/crash_handler/allocation_recorder_holder.h"
#include "components/allocation_recorder/crash_handler/stream_data_source_factory.h"
#include "components/allocation_recorder/crash_handler/user_stream_data_source.h"
#endif
extern "C" {
__attribute__((visibility("default"), used)) int CrashpadHandlerMain(
int argc,
char* argv[]) { … }
}