Omnibox: Add Field Trial to Create UWYT When Inlining

Currently when HistoryURL provider decides to promote a match
for inline autocompletion, it will then decline to offer a what-you-typed
match even if it's valid and reasonable.

This behavior can cause problems in DisableInling mode because
this means that sometimes HistoryURL provider will not create a UWYT
match. Consequently, the default match in this mode can become a
search-what-you-typed even when the input is a valid URL. This causes
all sorts of badness and irritation.

This changelist creates a new mechanism, controlled through a field
trial parameter, that forces creation of the UWYT match if it wasn't
added due to this reason (promoted URL for inline autocompletion).

This is one approach to implement this strategy. The other approach
is in https://codereview.chromium.org/321243003/

Did some basic tests using a local field trial server with the
proper params.

TBR=pkasting
(to get this in M-37)

BUG=380357

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278811 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed