🧇 Disable SearchEngineChoiceTrigger by default on Mac/Linux/CrOS
Bug: 321895732
Bug: 325622596
Change-Id: I1472093025b706ff7ca59c3248a45ee7bf96bbd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5303616
Reviewed-by: David Roger <droger@chromium.org>
Commit-Queue: Nicolas Dossou-Gbété <dgn@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1261731}
diff --git a/chrome/browser/search_engine_choice/search_engine_choice_client_side_trial_unittest.cc b/chrome/browser/search_engine_choice/search_engine_choice_client_side_trial_unittest.cc
index 20f0e977..4dc4e5b8 100644
--- a/chrome/browser/search_engine_choice/search_engine_choice_client_side_trial_unittest.cc
+++ b/chrome/browser/search_engine_choice/search_engine_choice_client_side_trial_unittest.cc
@@ -141,12 +141,12 @@
.entropy_value = 0.01,
.channel = version_info::Channel::BETA,
.expect_study_enabled = false,
- .expect_feature_enabled = true},
+ .expect_feature_enabled = false},
SearchEngineChoiceFieldTrialTestParams{
.entropy_value = 0.01,
.channel = version_info::Channel::STABLE,
.expect_study_enabled = false,
- .expect_feature_enabled = true}
+ .expect_feature_enabled = false}
#elif BUILDFLAG(IS_CHROMEOS)
// Did not have a client-side field trial, so it's not bundled with the
// group above, but it's being enabled on a different schedule than the
@@ -155,12 +155,12 @@
.entropy_value = 0.01,
.channel = version_info::Channel::BETA,
.expect_study_enabled = false,
- .expect_feature_enabled = true},
+ .expect_feature_enabled = false},
SearchEngineChoiceFieldTrialTestParams{
.entropy_value = 0.01,
.channel = version_info::Channel::STABLE,
.expect_study_enabled = false,
- .expect_feature_enabled = true}
+ .expect_feature_enabled = false}
#elif BUILDFLAG(IS_WIN)
SearchEngineChoiceFieldTrialTestParams{
.entropy_value = 0.01,
diff --git a/components/search_engines/search_engines_switches.cc b/components/search_engines/search_engines_switches.cc
index 4de4366..861b5dce 100644
--- a/components/search_engines/search_engines_switches.cc
+++ b/components/search_engines/search_engines_switches.cc
@@ -37,9 +37,9 @@
#elif BUILDFLAG(IS_WIN)
base::FEATURE_DISABLED_BY_DEFAULT
#elif BUILDFLAG(IS_CHROMEOS)
- base::FEATURE_ENABLED_BY_DEFAULT
+ base::FEATURE_DISABLED_BY_DEFAULT
#else
- base::FEATURE_ENABLED_BY_DEFAULT
+ base::FEATURE_DISABLED_BY_DEFAULT
#endif
);