-
Joel Hockey authored
* New fileManagerPrivate APIs: - isCrostiniEnabled: returns true if device supports crostini and termina/penguin container exists. This function is controlled by flag 'crostini-files'. - mountCrostiniContainer: starts and mounts container. * Created new root type NavigationModelSFTPMountItem which uses a FakeEntry, similar to 'Recent', to show the 'Linux Files' root. * Click handler for Linux Files will start and mount crostini container. * Code in NavigationModel to order roots detects when mounted volumes already contains an FSP-provided mount for fileSystemId='crostini'. In this case, the fake root is left out and the real volume should be in the same position. * Error handling code for SFTP mount/disconnect to be implemented when sshfs is available. Bug: 834103 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I8a3bec948871dc9671ea513d7378035d89d565eb Reviewed-on: https://chromium-review.googlesource.com/1025545 Commit-Queue: Joel Hockey <joelhockey@chromium.org> Reviewed-by:
Sasha Morrissey <sashab@chromium.org> Reviewed-by:
Naoki Fukino <fukino@chromium.org> Reviewed-by:
Mark Pearson <mpearson@chromium.org> Cr-Commit-Position: refs/heads/master@{#557104}
37fa72b0