[omnibox] Dedup HQP matches V2.
HQP has a provider limit of 3. To make full use of the capacity, this CL dedupes HQP matches. The first attempt at HQP deduping (crrev.com/c/2219027) deduped matches too early in the algorithm which could result in unintionally removing a suggestion even if its duplicate suggestion would later be trimmed or scored lower. This was reverted (crrev.com/c/2327955). This CL implements deduping after trimming and scoring of HQP matches. Bug: 591981 Change-Id: I27c418e2048c495d2622b7937f080792ba43acc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2334819 Commit-Queue: manuk hovanesian <manukh@chromium.org> Reviewed-by:Mark Pearson <mpearson@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#796639}
Showing
Please register or sign in to comment