Commit e7916192 authored by manuk's avatar manuk Committed by Commit Bot

[omnibox] Enable fakebox strong demotion by default.

In preparation for launching to all channels in finch.

Change-Id: I581f451ba7e6852df056d785ba824c8d75c7dc31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888125Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Commit-Queue: manuk hovanesian <manukh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710518}
parent ffe7be15
......@@ -295,15 +295,14 @@ void OmniboxFieldTrial::GetDemotionsByType(
// enough to be inline autocompleted (1400+), even after demotion it will
// score above 850 ( 1400 * 0.61 > 850). 850 is the maximum score for
// queries when the input has been detected as URL-seeking.
constexpr char kDemoteURLs[] = "1:61,2:61,3:61,4:61,16:61,24:61";
#if defined(OS_ANDROID)
if (current_page_classification == OmniboxEventProto::
SEARCH_RESULT_PAGE_NO_SEARCH_TERM_REPLACEMENT)
demotion_rule = kDemoteURLs;
demotion_rule = "1:61,2:61,3:61,4:61,16:61,24:61";
#endif
if (current_page_classification ==
OmniboxEventProto::INSTANT_NTP_WITH_FAKEBOX_AS_STARTING_FOCUS)
demotion_rule = kDemoteURLs;
demotion_rule = "1:10,2:10,3:10,4:10,5:10,16:10,17:10,24:10";
}
// The value of the DemoteByType rule is a comma-separated list of
......
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