• manuk's avatar
    [omnibox] Dedup HQP matches V2. · d29fbaad
    manuk authored
    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: default avatarMark Pearson <mpearson@chromium.org>
    Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#796639}
    d29fbaad
history_quick_provider_unittest.cc 43.5 KB