From 5acfba90af3aaa4299288c2105669987d9db5fc9 Mon Sep 17 00:00:00 2001 From: mkarolin Date: Fri, 14 May 2021 14:22:52 -0400 Subject: [PATCH] Disables Fledge Interest Groups. Feature and origin trial. Fixes brave/brave-browser#15847 --- app/brave_main_delegate.cc | 2 ++ app/brave_main_delegate_browsertest.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/brave_main_delegate.cc b/app/brave_main_delegate.cc index 49b8f2d53b98..69dc6df10ac0 100644 --- a/app/brave_main_delegate.cc +++ b/app/brave_main_delegate.cc @@ -209,6 +209,8 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) { std::unordered_set disabled_features = { autofill::features::kAutofillEnableAccountWalletStorage.name, autofill::features::kAutofillServerCommunication.name, + blink::features::kFledgeInterestGroupAPI.name, + blink::features::kFledgeInterestGroups.name, blink::features::kHandwritingRecognitionWebPlatformApi.name, blink::features::kHandwritingRecognitionWebPlatformApiFinch.name, blink::features::kInterestCohortAPIOriginTrial.name, diff --git a/app/brave_main_delegate_browsertest.cc b/app/brave_main_delegate_browsertest.cc index 13890f6a17ea..83fcb001d8fd 100644 --- a/app/brave_main_delegate_browsertest.cc +++ b/app/brave_main_delegate_browsertest.cc @@ -66,6 +66,8 @@ IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, DisabledFeatures) { const base::Feature* disabled_features[] = { &autofill::features::kAutofillEnableAccountWalletStorage, &autofill::features::kAutofillServerCommunication, + &blink::features::kFledgeInterestGroupAPI, + &blink::features::kFledgeInterestGroups, &blink::features::kHandwritingRecognitionWebPlatformApi, &blink::features::kHandwritingRecognitionWebPlatformApiFinch, &blink::features::kInterestCohortAPIOriginTrial,