Description[MediaNotification] Avoid fetching image twice when artwork doesn't change
When switching src or modifying metadata, the whole metadata will be
sent to MediaSessionTabHelper causing it to download the same image src
twice even if the artwork stays the same. This CL make MediaImageManager
to remember the src of the last downloaded image so that it can avoid
fetch the same src.
BUG=672023
Review-Url: https://codereview.chromium.org/2627103002
Cr-Commit-Position: refs/heads/master@{#443256}
Committed: https://chromium.googlesource.com/chromium/src/+/d9031fa168c6d3a3b2437f56eea99d3c2a16572e
Patch Set 1 : need tests! #Patch Set 2 : rebased #Patch Set 3 : fixed tests #
Messages
Total messages: 19 (11 generated)
|