From 77c337d37c0f4545bf60df11d2f69402235614be Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Wed, 3 Jun 2020 14:36:24 -0700 Subject: [PATCH] Enable prefetch-privacy-changes flag by default (fixes brave/brave-browser#8319) --- app/brave_main_delegate.cc | 1 + app/brave_main_delegate_browsertest.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/app/brave_main_delegate.cc b/app/brave_main_delegate.cc index 13d47c1f114e..b0d927abe3f8 100644 --- a/app/brave_main_delegate.cc +++ b/app/brave_main_delegate.cc @@ -163,6 +163,7 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) { // on // this feature. features::kWebUIDarkMode.name, + blink::features::kPrefetchPrivacyChanges.name, }; if (!base::CommandLine::ForCurrentProcess()->HasSwitch( diff --git a/app/brave_main_delegate_browsertest.cc b/app/brave_main_delegate_browsertest.cc index ff2bd7a3e004..66239e5716e0 100644 --- a/app/brave_main_delegate_browsertest.cc +++ b/app/brave_main_delegate_browsertest.cc @@ -59,6 +59,7 @@ IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, DisabledFeatures) { IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, EnabledFeatures) { const base::Feature* enabled_features[] = { + &blink::features::kPrefetchPrivacyChanges, &password_manager::features::kPasswordImport, };