#ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_CHROME_DEBUG_URLS_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_CHROME_DEBUG_URLS_H_
#include "base/check_op.h"
#include "base/dcheck_is_on.h"
#include "build/build_config.h"
#include "third_party/blink/public/common/buildflags.h"
#include "third_party/blink/public/common/common_export.h"
class GURL;
namespace blink {
inline constexpr char kChromeUIBadCastCrashURL[] = …;
inline constexpr char kChromeUIBrowserCrashURL[] = …;
inline constexpr char kChromeUIBrowserDcheckURL[] = …;
inline constexpr char kChromeUIBrowserUIHang[] = …;
inline constexpr char kChromeUICheckCrashURL[] = …;
inline constexpr char kChromeUICrashURL[] = …;
inline constexpr char kChromeUIDelayedBrowserUIHang[] = …;
inline constexpr char kChromeUIDumpURL[] = …;
inline constexpr char kChromeUIGpuCleanURL[] = …;
inline constexpr char kChromeUIGpuCrashURL[] = …;
inline constexpr char kChromeUIGpuHangURL[] = …;
inline constexpr char kChromeUIHangURL[] = …;
inline constexpr char kChromeUIKillURL[] = …;
inline constexpr char kChromeUIMemoryExhaustURL[] = …;
inline constexpr char kChromeUIMemoryPressureCriticalURL[] = …;
inline constexpr char kChromeUIMemoryPressureModerateURL[] = …;
inline constexpr char kChromeUINetworkErrorsListingURL[] = …;
inline constexpr char kChromeUINetworkErrorURL[] = …;
inline constexpr char kChromeUIProcessInternalsURL[] = …;
#if BUILDFLAG(IS_ANDROID)
inline constexpr char kChromeUIGpuJavaCrashURL[] = "chrome://gpu-java-crash/";
#endif
#if BUILDFLAG(ENABLE_RUST_CRASH)
inline constexpr char kChromeUICrashRustURL[] = …;
#endif
#if BUILDFLAG(IS_WIN)
inline constexpr char kChromeUIBrowserHeapCorruptionURL[] =
"chrome://inducebrowserheapcorruption/";
inline constexpr char kChromeUICfgViolationCrashURL[] = "chrome://crash/cfg";
inline constexpr char kChromeUIHeapCorruptionCrashURL[] =
"chrome://heapcorruptioncrash/";
#endif
#if defined(ADDRESS_SANITIZER)
inline constexpr char kChromeUICrashHeapOverflowURL[] =
"chrome://crash/heap-overflow";
inline constexpr char kChromeUICrashHeapUnderflowURL[] =
"chrome://crash/heap-underflow";
inline constexpr char kChromeUICrashUseAfterFreeURL[] =
"chrome://crash/use-after-free";
#if BUILDFLAG(IS_WIN)
inline constexpr char kChromeUICrashCorruptHeapBlockURL[] =
"chrome://crash/corrupt-heap-block";
inline constexpr char kChromeUICrashCorruptHeapURL[] =
"chrome://crash/corrupt-heap";
#endif
#if BUILDFLAG(ENABLE_RUST_CRASH)
inline constexpr char kChromeUICrashRustOverflowURL[] =
"chrome://crash/rust-overflow";
#endif
#endif
#if DCHECK_IS_ON()
inline constexpr char kChromeUICrashDcheckURL[] = …;
#endif
inline constexpr char kChromeUIResourcesURL[] = …;
inline constexpr char kChromeUIShorthangURL[] = …;
BLINK_COMMON_EXPORT bool IsRendererDebugURL(const GURL& url);
BLINK_COMMON_EXPORT void HandleChromeDebugURL(const GURL& url);
}
#endif