DescriptionAdd SearchProvider's most relevant NavigationResult to |matches_|.
This fixes a regression from http://crrev.com/135984.
The reversed result parsing unintentionally left the nav results unsorted.
Suggest results are unaffected, as they're all added to map and sorted.
Subsequent CLs should help make this whole process cleaner.
BUG=125871
TEST=Automated. Also, the *first* NAVIGATION result from suggest JSON is used as a SearchProvider match.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137080
Patch Set 1 #Patch Set 2 : Update SearchProviderTest.Navsuggest with test case. #
Total comments: 2
Patch Set 3 : Use max_element instead of sorting results. #
Messages
Total messages: 6 (0 generated)
|