Modify default preferences: disable kHttpsFirstDialogUi by default (#2654)
This commit is contained in:
@@ -19,10 +19,11 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||||
.../core/browser/cookie_settings.cc | 2 +-
|
||||
components/payments/core/payment_prefs.cc | 2 +-
|
||||
.../core/common/safe_browsing_prefs.cc | 4 ++--
|
||||
.../security_interstitials/core/features.cc | 1 +
|
||||
.../primary_account_manager.cc | 2 +-
|
||||
.../Modify-default-preferences.inc | 8 ++++++++
|
||||
.../features_cc/Modify-default-preferences.inc | 1 +
|
||||
18 files changed, 69 insertions(+), 19 deletions(-)
|
||||
19 files changed, 70 insertions(+), 19 deletions(-)
|
||||
create mode 100644 components/bookmarks/browser/features.cc
|
||||
create mode 100644 components/bookmarks/browser/features.h
|
||||
create mode 100755 cromite_flags/chrome/browser/about_flags_cc/Modify-default-preferences.inc
|
||||
@@ -297,6 +298,16 @@ diff --git a/components/safe_browsing/core/common/safe_browsing_prefs.cc b/compo
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
if (base::FeatureList::IsEnabled(kEsbAsASyncedSetting)) {
|
||||
registry->RegisterBooleanPref(
|
||||
diff --git a/components/security_interstitials/core/features.cc b/components/security_interstitials/core/features.cc
|
||||
--- a/components/security_interstitials/core/features.cc
|
||||
+++ b/components/security_interstitials/core/features.cc
|
||||
@@ -10,5 +10,6 @@ namespace security_interstitials::features {
|
||||
|
||||
// Enables a dialog-based UI for HTTPS-First Mode.
|
||||
BASE_FEATURE(kHttpsFirstDialogUi, base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
+SET_CROMITE_FEATURE_DISABLED(kHttpsFirstDialogUi);
|
||||
|
||||
} // namespace security_interstitials::features
|
||||
diff --git a/components/signin/internal/identity_manager/primary_account_manager.cc b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
--- a/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
+++ b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
|
||||
Reference in New Issue
Block a user