Chromium Code Reviews
Description[NTP Tiles] Avoid duplicate requests from IconCacherImpl
This CL adds recording of requests in-flight so that we do not issue the
same network request twice. The cacher is often triggered both for PS
and for ML several times in a quick succession.
This is a kind of a hack to make experimentation with fetching favicons
for MostLikely tiles in M60 safer (not issuing too many network
requests). This should be removed once the underlying issue in
most_visited_sites is addressed.
BUG=720536
Review-Url: https://codereview.chromium.org/2873403002
Cr-Commit-Position: refs/heads/master@{#472861}
Committed: https://chromium.googlesource.com/chromium/src/+/fc015b3cb9d91a89707e479635fad2cd3695cd1d
Patch Set 1 #Patch Set 2 : Chris' comments #
Total comments: 4
Patch Set 3 : Chris' comments #2 #Patch Set 4 : Fix build for windows #
Dependent Patchsets: Messages
Total messages: 24 (17 generated)
|
|||||||||||||||||||||||||||||||||||||