From: uazo Date: Sat, 9 Apr 2022 21:43:35 +0200 Subject: Disable crash reporting --- chrome/browser/chrome_content_browser_client.cc | 1 + content/public/common/content_features.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc @@ -2651,6 +2651,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( base::NumberToString(pid)); } #endif + enable_crash_reporter = false; if (enable_crash_reporter) { std::string switch_value; std::unique_ptr client_info = diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc --- a/content/public/common/content_features.cc +++ b/content/public/common/content_features.cc @@ -215,8 +215,8 @@ BASE_FEATURE(kCooperativeScheduling, // Enables crash reporting via Reporting API. // https://www.w3.org/TR/reporting/#crash-report BASE_FEATURE(kCrashReporting, - "CrashReporting", - base::FEATURE_ENABLED_BY_DEFAULT); + "CrashReporting", // disabled by default + base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite // Enable the device posture API. // Tracking bug for enabling device posture API: https://crbug.com/1066842. -- 2.25.1