Commit e4a857a9 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[filesapp] Add getContentMetadata to the UITest system

The chrome.mediaGalleries was removed from files app crbug.com/1114622
and a new file manager private API FMP.getContentMetadata was added to
replace it. Add it to the UITest system test FMP impl.

Test: browser_tests --gtest_filter="FileManagerUITest*"
Bug: 1113981
Change-Id: I03f26913f7f0f96f85c74053e458a42bf314e9aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537453Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Auto-Submit: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827671}
parent ade8f1f7
...@@ -124,6 +124,9 @@ chrome.fileManagerPrivate = { ...@@ -124,6 +124,9 @@ chrome.fileManagerPrivate = {
// Returns opened|message_sent|failed|empty. // Returns opened|message_sent|failed|empty.
setTimeout(callback, 0, 'failed'); setTimeout(callback, 0, 'failed');
}, },
getContentMetadata: (entry, mimeType, includeImages, callback) => {
setTimeout(callback, 0);
},
getContentMimeType: (entry, callback) => { getContentMimeType: (entry, callback) => {
setTimeout(callback, 0, ''); setTimeout(callback, 0, '');
}, },
......
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