Skip to content

Commit 86bf5ed

Browse files
authored
Merge pull request #4537 from jonathanKingston/bug-4381
Upgrade mixed content connection
2 parents affeac4 + a99f1cf commit 86bf5ed

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

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

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

0 commit comments

Comments
 (0)