Skip to content

Commit a99f1cf

Browse files
Upgrade mixed content connection.
Fixes: brave/brave-browser#4381
1 parent b685a63 commit a99f1cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/brave_main_delegate.cc

+8
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
#include "components/feed/feed_feature_list.h"
3030
#include "components/omnibox/common/omnibox_features.h"
3131
#include "components/password_manager/core/common/password_manager_features.h"
32+
#include "components/security_state/core/features.h"
3233
#include "components/sync/driver/sync_driver_switches.h"
3334
#include "content/public/common/content_features.h"
3435
#include "content/public/common/content_switches.h"
3536
#include "services/network/public/cpp/features.h"
37+
#include "third_party/blink/public/common/features.h"
3638
#include "third_party/widevine/cdm/buildflags.h"
3739
#include "ui/base/ui_base_features.h"
3840

@@ -151,7 +153,13 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) {
151153

152154
// Enabled features.
153155
const std::unordered_set<const char*> enabled_features = {
156+
// Upgrade all mixed content
157+
blink::features::kMixedContentAutoupgrade.name,
154158
password_manager::features::kPasswordImport.name,
159+
// Remove URL bar mixed control and allow site specific override instead
160+
features::kMixedContentSiteSetting.name,
161+
// Warn about Mixed Content optionally blockable content
162+
security_state::features::kPassiveMixedContentWarning.name,
155163
// Enable webui dark theme: @media (prefers-color-scheme: dark) is gated on
156164
// this feature.
157165
features::kWebUIDarkMode.name,

0 commit comments

Comments
 (0)