Add new methods to EntryList and tests

Change the logic to add entries to My Files to account for volume being
mounted/unmounted. This fixes some broken tests when running with the
flag enabled by default, so test to cover this is on
crrev.com/c/1131025.

Fix test getMetadata function name.

Bug: 857335
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: Id056b0e0d5c77a07c2561f6566bfc99111864917
Reviewed-on: https://chromium-review.googlesource.com/1133613
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574505}
5 files changed