Chromium Code Reviews
Description[NTP Snippets] Re-fetch snippets on ML changes only when the hosts actually change
Every time the NTP is opened, the suggestions are refreshed, resulting in an OnSuggestionsChanged call.
Instead of blindly re-fetching snippets each time, store the list of hosts we saw previously, and only re-fetch when those change.
BUG=601034
Committed: https://crrev.com/9b08521135f70763c671ea87c6d792c82b690b79
Cr-Commit-Position: refs/heads/master@{#386023}
Patch Set 1 #
Total comments: 3
Patch Set 2 : s/vector/set/ #
Messages
Total messages: 11 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||