Refactor DirectoryTree part 1 of 2
This is part of a reverted CL crrev.com/c/1300993, but this is the safe part of it. I don't expect this to cause flakiness. 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. No changes in behaviour for users. Change-Id: Ie8542464a360b5ed1970183dc888003119b423a9 Reviewed-on: https://chromium-review.googlesource.com/c/1313710 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#604768}
Showing
Please register or sign in to comment