commit | dee2de1f071c76b3515c743e85aa6ca9e9d28d84 | [log] [tgz] |
---|---|---|
author | Joel Hockey <joelhockey@chromium.org> | Tue Sep 18 21:41:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 18 21:41:52 2018 |
tree | 7f91d4791d9bf7aa664617777c53d11049b7a345 | |
parent | 18126ed5fbb639672d928dfe4be3cb67dbaa58f0 [diff] |
Crostini: remount persisted shared folders at startup Note that this feature is being added to read any persisted shares, however support to write shares as persisted will not be added until the management UI where shares can be removed is completed. * prefs: crostini.shared_paths will be a list of filesystem path strings. * New function CrostiniSharePath::GetSharedPaths() reads from prefs. * New fileManagerPrivate.getCrostiniSharedPaths executes callback to receive list of Entry. * FileManager.setupCrostini_ loads persisted shares at startup. * FileManagerApiTest.Crostini verifies reading from prefs and correct conversion of filesystem paths to FileEntry. * New integration test for fileManagerPrivate.getCrostiniSharedPaths(). Bug: 878324 Cq-Include-Trybots: luci.chromium.try:closure_compilation Change-Id: I5c8ee8193eb2fda94e5505d79b449797fbab9449 Reviewed-on: https://chromium-review.googlesource.com/1220411 Reviewed-by: Ben Wells <benwells@chromium.org> Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Reviewed-by: Nicholas Verne <nverne@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#592208}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .