LeOSium_webview/mulch/patches/0001-Vanadium/0037-disable-safe-browsing-...

23 lines
1.1 KiB
Diff
Raw Normal View History

2023-11-18 11:46:19 +01:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Fri, 12 Jul 2019 05:22:11 -0400
Subject: [PATCH] disable safe browsing reporting opt-in by default
---
components/safe_browsing/core/common/safe_browsing_prefs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/safe_browsing/core/common/safe_browsing_prefs.cc b/components/safe_browsing/core/common/safe_browsing_prefs.cc
index 7d1f25f491473..bed8cfa6d9e83 100644
--- a/components/safe_browsing/core/common/safe_browsing_prefs.cc
+++ b/components/safe_browsing/core/common/safe_browsing_prefs.cc
@@ -271,7 +271,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
registry->RegisterBooleanPref(
prefs::kSafeBrowsingSawInterstitialScoutReporting, false);
registry->RegisterBooleanPref(
- prefs::kSafeBrowsingExtendedReportingOptInAllowed, true);
+ prefs::kSafeBrowsingExtendedReportingOptInAllowed, false);
registry->RegisterTimePref(
prefs::kSafeBrowsingEsbProtegoPingWithTokenLastLogTime, base::Time());
registry->RegisterTimePref(