Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Issue 2584853002: ntp_tiles: Fix Top Sites potentially overriding Suggestions Service (Closed)

Created:
4 years ago by mastiz
Modified:
3 years, 11 months ago
Reviewers:
sfiera
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ntp_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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M components/ntp_tiles/most_visited_sites.cc View 3 chunks +8 lines, -3 lines 0 comments Download
M components/ntp_tiles/most_visited_sites_unittest.cc View 2 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
mastiz
4 years ago (2016-12-16 13:54:59 UTC) #2
sfiera
LGTM
4 years ago (2016-12-16 14:46:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2584853002/20001
3 years, 11 months ago (2017-01-05 11:46:55 UTC) #6
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 12:43:07 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/648408687025e4e954a392135c93...

Powered by Google App Engine
This is Rietveld 408576698