Commit 52c839c2 authored by mtomasz's avatar mtomasz Committed by Commit bot

[fsp] Enable thumbnails for provided file systems.

This patch allows to fetch thumbnails via metadata cache for provided file
systems.

TEST=Tested manually.
BUG=407954

Review URL: https://codereview.chromium.org/609263002

Cr-Commit-Position: refs/heads/master@{#297155}
parent 24bfc91b
...@@ -793,8 +793,8 @@ ExternalProvider.prototype = { ...@@ -793,8 +793,8 @@ ExternalProvider.prototype = {
*/ */
ExternalProvider.prototype.supportsEntry = function(entry) { ExternalProvider.prototype.supportsEntry = function(entry) {
var locationInfo = this.volumeManager_.getLocationInfo(entry); var locationInfo = this.volumeManager_.getLocationInfo(entry);
// TODO(mtomasz): Add support for provided file systems. return locationInfo && (locationInfo.isDriveBased ||
return locationInfo && locationInfo.isDriveBased; locationInfo.rootType === VolumeManagerCommon.RootType.PROVIDED);
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment