diff --git a/include/capi/cef_crash_util_capi.h b/include/capi/cef_crash_util_capi.h index ce64e7463..1a1eb0e02 100644 --- a/include/capi/cef_crash_util_capi.h +++ b/include/capi/cef_crash_util_capi.h @@ -61,6 +61,9 @@ extern "C" { // information; default to "CEF"> // ExternalHandler= +// BrowserCrashForwardingEnabled= // ServerURL= // RateLimitEnabled= // MaxUploadsPerDay= // ExternalHandler= +// BrowserCrashForwardingEnabled= // ServerURL= // RateLimitEnabled= // MaxUploadsPerDay=EnableBrowserCrashForwarding()) { + crashpad_info->set_system_crash_reporter_forwarding( + crashpad::TriState::kDisabled); + } diff --git components/crash/content/app/crashpad_mac.mm components/crash/content/app/crashpad_mac.mm index 7df66ea..4ee709a 100644 --- components/crash/content/app/crashpad_mac.mm @@ -429,7 +455,7 @@ index 7df66ea..4ee709a 100644 #include "third_party/crashpad/crashpad/client/crash_report_database.h" #include "third_party/crashpad/crashpad/client/crashpad_client.h" #include "third_party/crashpad/crashpad/client/crashpad_info.h" -@@ -40,9 +43,10 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, +@@ -40,9 +43,10 @@ if (initial_client) { @autoreleasepool { @@ -443,7 +469,7 @@ index 7df66ea..4ee709a 100644 // Is there a way to recover if this fails? CrashReporterClient* crash_reporter_client = GetCrashReporterClient(); -@@ -54,16 +58,27 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, +@@ -54,16 +58,27 @@ // crash server won't have symbols for any other build types. std::string url = "https://clients2.google.com/cr/report"; #else @@ -476,7 +502,7 @@ index 7df66ea..4ee709a 100644 #if defined(GOOGLE_CHROME_BUILD) NSString* channel = base::mac::ObjCCast( -@@ -73,12 +88,16 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, +@@ -73,12 +88,16 @@ } #endif @@ -498,7 +524,7 @@ index 7df66ea..4ee709a 100644 std::vector arguments; if (!browser_process) { -@@ -90,6 +109,12 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, +@@ -90,6 +109,12 @@ "--reset-own-crash-exception-port-to-system-default"); }