Descriptionntp_tiles: Fix Top Sites potentially overriding Suggestions Service
The current implementation of MostVisitedSites has a race condition
which can cause Top Sites tiles to be shown in the NTP although
Suggestions Service results are available.
As reflected in updated tests, this is the case when Top Sites takes
longer to respond than the Suggestions Service, but only if no cached
tiles exist for the Suggestions Service.
BUG=674909
Review-Url: https://codereview.chromium.org/2584853002
Cr-Commit-Position: refs/heads/master@{#441632}
Committed: https://chromium.googlesource.com/chromium/src/+/648408687025e4e954a392135c93e80a43481b10
Patch Set 1 #Patch Set 2 : Rebased. #
Messages
Total messages: 9 (5 generated)
|