Commit da8bfd3e authored by gambard's avatar gambard Committed by Commit Bot

Add finch experiment for ContentSuggestions

Bug: 740894
Change-Id: I2ecd9902237fa558caae6f49a77bb2ce7022e5ea
Reviewed-on: https://chromium-review.googlesource.com/566801
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485587}
parent 1c9bcd52
...@@ -48,6 +48,8 @@ const base::Feature kEnableSlimNavigationManager{ ...@@ -48,6 +48,8 @@ const base::Feature kEnableSlimNavigationManager{
"EnableSlimNavigationManager", base::FEATURE_DISABLED_BY_DEFAULT}; "EnableSlimNavigationManager", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kEnableThirdPartyKeyboardWorkaround{ const base::Feature kEnableThirdPartyKeyboardWorkaround{
"EnableThirdPartyKeyboardWorkaround", base::FEATURE_ENABLED_BY_DEFAULT}; "EnableThirdPartyKeyboardWorkaround", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kIOSNTPSuggestions{"IOSNTPSuggestions",
base::FEATURE_DISABLED_BY_DEFAULT};
} // namespace } // namespace
...@@ -239,8 +241,8 @@ bool IsSuggestionsUIEnabled() { ...@@ -239,8 +241,8 @@ bool IsSuggestionsUIEnabled() {
if (command_line->HasSwitch(switches::kDisableSuggestionsUI)) if (command_line->HasSwitch(switches::kDisableSuggestionsUI))
return false; return false;
// By default, disable it. // Check if the Finch experiment is turned on.
return false; return base::FeatureList::IsEnabled(kIOSNTPSuggestions);
} }
bool IsSigninPromoEnabled() { bool IsSigninPromoEnabled() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment