DescriptionFiles.app: Store thumbnailUrl from external metadata provider only when it is requested or gotten.
Storing 'undefined' value when the thumbnail url is not requested will result
in missing thumbnails on FSP volumes.
This CL fixes the issue by storing metadata only when it is requested or gotten
without request.
We should apply the same treatment for all properties, but this CL do it only
for thumbnailUrl to minimize the impact and prepare for merge.
For more context, please see the comments in http://crrev.com/1158463004
BUG=489595, 494910
TEST=Install TED talks extension, switch to grid view, and check thumbnails exist.
TBR=hirono@chromium.org
Review URL: https://codereview.chromium.org/1144393007
Cr-Commit-Position: refs/heads/master@{#332532}
(cherry picked from commit 60cd0f79fd0f3065c2f5a1f44e19d99a09fd8888)
Committed: https://chromium.googlesource.com/chromium/src/+/884940495d3c6900db4ef6cb5a5e783e4e1e2207
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|