Commit 70f162a8 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[filesapp] Remove chrome.mediaGalleries from UITest system

Files app removed use of chrome.mediaGalleries a few milestones ago so
this code is no longer used. Remove it.

Bug: code-health
Change-Id: I38fea9943fe8e01530d79e2137ba498f2047c8b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526824
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Auto-Submit: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#825935}
parent 4d94672d
......@@ -295,21 +295,6 @@ chrome.fileManagerPrivate = {
},
};
/**
* Suppress compiler warning for overwriting chrome.mediaGalleries.
* @suppress {checkTypes}
*/
chrome.mediaGalleries = {
getMetadata: (mediaFile, options, callback) => {
// Returns metdata {mimeType: ..., ...}.
setTimeout(() => {
webkitResolveLocalFileSystemURL(mediaFile.name, entry => {
callback({mimeType: entry.metadata.contentMimeType});
}, 0);
});
},
};
/**
* Suppress compiler warning for overwriting chrome.fileSystem.
* @suppress {checkTypes}
......
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