DescriptionChanges SearchProvider to set the description of the first consecutive
match sharing the same template url. For example, if the results were
'A B C D' with 'A' and 'B' sharing the same provider and 'C' and 'D'
sharing the same provider, then 'A' and 'C' would get descriptions.
As part of this I'm always setting AutocompleteMatch::template_url
(previously we only set it for keywords).
BUG=88322
TEST=see bug, also covered by unit tests.
R=pkasting@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91741
Patch Set 1 #Patch Set 2 : Tweaks #
Total comments: 6
Patch Set 3 : Incorporate review feedback and fix bug #Patch Set 4 : Fix DCHECK #Messages
Total messages: 3 (0 generated)
|