LeOSium_old/patches/0001-Vanadium/0080-Make-HTTPS-only-mode-t...

23 lines
924 B
Diff
Raw Normal View History

2023-11-18 11:23:04 +01:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: qua3k <cliffmaceyak@gmail.com>
Date: Mon, 18 Oct 2021 17:18:52 -0400
Subject: [PATCH] Make HTTPS-only mode the default
---
chrome/browser/ui/browser_ui_prefs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index 6ff2102a201ba..67055ab9f0e56 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -161,7 +161,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
#endif
registry->RegisterBooleanPref(
- prefs::kHttpsOnlyModeEnabled, false,
+ prefs::kHttpsOnlyModeEnabled, true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterListPref(prefs::kHttpAllowlist);
registry->RegisterBooleanPref(prefs::kHttpsUpgradesEnabled, true);