From: uazo Date: Sat, 9 Apr 2022 21:43:35 +0200 Subject: Disable crash reporting --- chrome/browser/chrome_content_browser_client.cc | 1 + .../common/content_features_cc/Disable-crash-reporting.inc | 1 + 2 files changed, 2 insertions(+) create mode 100644 cromite_flags/content/public/common/content_features_cc/Disable-crash-reporting.inc 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 @@ -2649,6 +2649,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/cromite_flags/content/public/common/content_features_cc/Disable-crash-reporting.inc b/cromite_flags/content/public/common/content_features_cc/Disable-crash-reporting.inc new file mode 100644 --- /dev/null +++ b/cromite_flags/content/public/common/content_features_cc/Disable-crash-reporting.inc @@ -0,0 +1 @@ +SET_CROMITE_FEATURE_DISABLED(kCrashReporting); -- 2.25.1