• Joel Hockey's avatar
    Crostini: remount persisted shared folders at startup · dee2de1f
    Joel Hockey authored
    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/1220411Reviewed-by: default avatarBen Wells <benwells@chromium.org>
    Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
    Reviewed-by: default avatarNicholas Verne <nverne@chromium.org>
    Commit-Queue: Joel Hockey <joelhockey@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#592208}
    dee2de1f
crostini_pref_names.cc 1.28 KB