Revert "[Reland attempt #2] Refactor DirectoryTree"
This reverts commit b7ecb7e9. Reason for revert: ChromiumOS MSAN got flaky/failing crbug.com/899664 Original change's description: > [Reland attempt #2] Refactor DirectoryTree > > Fix flakiness by adding call to this.expanded=true in EntryListItem. > > Change updateSubDirectories: > - use arrow function and const; > - change error callback calling style to match the same style used by > success callback (without if). > - change check from isFakeEntry to check for presence of the method > that's used "createReader". > > Change the sorting to be an method, so it can be customized per > sub-class, later it will be used to sort My files to show Linux and Play > files at the bottom. > > Fix unittest that started failing because it metadataModel was null. > > No changes in behaviour for users, the small change in behaviour is > EntryListItem.updateSubDirectories now reads its children using FS API > which isn't synchronous. > > CrOS FilesApp UI Tests: ensure downloads selected and refreshed in setup > > TBR: joelhockey@chromium.org > Bug: 899664 > Change-Id: I8a93616f74cf3bf2b99851dc2452249e1353d85e > Reviewed-on: https://chromium-review.googlesource.com/c/1306963 > Reviewed-by: Joel Hockey <joelhockey@chromium.org> > Commit-Queue: Luciano Pacheco <lucmult@chromium.org> > Cr-Commit-Position: refs/heads/master@{#604069} TBR=joelhockey@chromium.org,lucmult@chromium.org Change-Id: Ic7903e70225a59e3eca7d581ea44202462b01dee No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 899664 Reviewed-on: https://chromium-review.googlesource.com/c/1309570Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#604194}
Showing
Please register or sign in to comment