Files.app: Add ContentMetadataProvider class.
It provides metadata obtained from the content in SharedWorker.
BUG=410766
TEST=FileManagerJsTest.ContentMetadataProvider
Committed: https://crrev.com/ed42610fca4e196ae4a3c26c29f5dcfbaaa68231
Cr-Commit-Position: refs/heads/master@{#314512}
PTAL, thanks! Almost all lines are copied from ContentProvider in metadata_cache.js. I changed the following ...
5 years, 10 months ago
(2015-02-04 04:38:31 UTC)
#2
PTAL, thanks! Almost all lines are copied from ContentProvider in
metadata_cache.js. I changed the following points.
* The name of class so that it consistent with FileSystemMetadataProvider and
ExternalProvider.
* Stop to build method name dynamically to make it @struct class. Instead it
uses a switch statement.
* It returns just thumbnailURL and thumbnailTransform.
yawano
https://codereview.chromium.org/894883003/diff/20001/ui/file_manager/file_manager/foreground/js/metadata/content_metadata_provider.js File ui/file_manager/file_manager/foreground/js/metadata/content_metadata_provider.js (right): https://codereview.chromium.org/894883003/diff/20001/ui/file_manager/file_manager/foreground/js/metadata/content_metadata_provider.js#newcode14 ui/file_manager/file_manager/foreground/js/metadata/content_metadata_provider.js:14: * @param {!MetadataProviderCache<!ContentMetadata>} cache MetadataCacheSet does not have template ...
5 years, 10 months ago
(2015-02-04 05:12:11 UTC)
#3
Issue 894883003: Files.app: Add ContentMetadataProvider class.
(Closed)
Created 5 years, 10 months ago by hirono
Modified 5 years, 10 months ago
Reviewers: yawano
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 6