Fix TopSites duplicates due to missing canonicalization
Prior to this patch, TopSites only stripped the "www." prefix when mapping a URL to a visit segment, which reflects how tiles will be formed (deduplicated, or lack thereof) on the NTP. We update this logic to handle common prefixes on mobile, as well as ignoring the distinction between http and https. The proposed implementation involves a history DB upgrade, which processes the persisted segment names with the new version of the function. Bug: 784337 Change-Id: Ibe6b609bf22df28866b069efd47acc483389509d Reviewed-on: https://chromium-review.googlesource.com/766747Reviewed-by:Brett Wilson <brettw@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#517068}
Showing
Please register or sign in to comment