Commit 51a1b02f authored by mariakhomenko's avatar mariakhomenko Committed by Commit bot

Record zero-suggest selections as empty input.

This makes typed length metric in omnibox event more useful -- we can
tell zero-suggest entries by empty selected input instead of recording
the URL lengths in that case.

BUG=529892

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

Cr-Commit-Position: refs/heads/master@{#353948}
parent f92b760f
......@@ -676,7 +676,7 @@ void OmniboxEditModel::OpenMatch(AutocompleteMatch match,
AutocompleteResult fake_single_entry_result;
fake_single_entry_result.AppendMatches(input_, fake_single_entry_matches);
OmniboxLog log(
input_text,
input_.from_omnibox_focus() ? base::string16() : input_text,
just_deleted_text_,
input_.type(),
popup_model()->IsOpen(),
......
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