HUP Experimental Scoring framework.
commitff34ad59ce2dd38e33ff85ed64a3b14f4a324a31
authorbartn@chromium.org <bartn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 26 Dec 2013 22:41:34 +0000 (26 22:41 +0000)
committerbartn@chromium.org <bartn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 26 Dec 2013 22:41:34 +0000 (26 22:41 +0000)
treeacac6c2f65694afdb23ebabbedf0484626aa5efa
parentead51fead0f5832bf8167499ba9c58b20e49d992
HUP Experimental Scoring framework.

High level summary:
(a) Introduce a new set of Finch variation params and use it in the Omnibox bundled experiment
(b) Group together HUP scoring params in a HUPScoringParams struct and initialize it based on the new experiment params
(c) Modify HUP scoring by applying optional demotion

This change is fairly safe because of the following reasons:
(1) It is disabled by default
(2) It never changes the relative order of HUP matches
(3) It can only demote a HUP match
(4) It is fairly isolated and unobtrusive

BUG=295756
TESTS=OmniboxFieldTrialTest,HistoryURLProviderTest

Review URL: https://codereview.chromium.org/23707058

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242569 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/autocomplete/history_url_provider.cc
chrome/browser/autocomplete/history_url_provider.h
chrome/browser/autocomplete/history_url_provider_unittest.cc
chrome/browser/omnibox/omnibox_field_trial.cc
chrome/browser/omnibox/omnibox_field_trial.h
chrome/browser/omnibox/omnibox_field_trial_unittest.cc