replace Disable crash reporting

This commit is contained in:
Carmelo Messina
2023-05-07 17:29:29 +02:00
parent 90f1af46f3
commit 98c09be8d8
+15 -4
View File
@@ -1,12 +1,23 @@
From: csagan5 <32685696+csagan5@users.noreply.github.com>
From: uazo <uazo@users.noreply.github.com>
Date: Sat, 9 Apr 2022 21:43:35 +0200
Subject: Disable crash reporting
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
content/public/common/content_features.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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
@@ -2606,6 +2606,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
base::NumberToString(pid));
}
#endif
+ enable_crash_reporter = false;
if (enable_crash_reporter) {
std::string switch_value;
std::unique_ptr<metrics::ClientInfo> 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