Chromium Code Reviews
Description[NTP Snippets] Refresh the displayed snippets less frequently
The fetch frequence of the snippet service does not change, but the
snippets are now refreshed less frequently on the UI. They are pulled
when the NTP is opened, or when the user switches back to it from
another tab or another app.
Additionally, we also change the way the list is updated, adding only
new entries instead of clearing the old list and replacing it with
the new one.
BUG=601757
Committed: https://crrev.com/104124354787e845e02db283185d499232518dd6
Cr-Commit-Position: refs/heads/master@{#388195}
Patch Set 1 #
Total comments: 11
Patch Set 2 : Address comments #
Total comments: 6
Patch Set 3 : add tests #Patch Set 4 : Address comments #
Total comments: 2
Patch Set 5 : #
Total comments: 2
Patch Set 6 : explicitly unregister the observer instead of using the return value #Patch Set 7 : rebase and fix tests #Messages
Total messages: 28 (9 generated)
|