commit | 5dc76e988fb40ac1a1b71a423317e1dceb4f2d16 | [log] [tgz] |
---|---|---|
author | Joel Hockey <joelhockey@chromium.org> | Tue Nov 13 22:44:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 13 22:44:39 2018 |
tree | 9558e98d735316714ac187db278fd7fe33bf152b | |
parent | 9ba52d6c2cb39d01d4ea0f2d7a03b7ccae03ee67 [diff] |
CrOS FilesApp: New event for crostini shared paths changing Added a new chrome.fileManagerPrivate.onCrostiniSharedPathsChanged function which receives type CrostiniSharedPathsChangedEvent. Changed CrostiniSharePath to be a keyed service class since it now holds state in the form of an ObserverList to receive unshare events. file_manager::EventRouter registers as an observer for UnsharePath events and propogates them to FilesApp. crostiniShare.testSharePathsCrostiniSuccess simulates an unshare event and verifies that it is handled correctly and a folder which is unshared can subsequently be shared again. Bug: 878324 Change-Id: I15ee3d75038f3bb3e127bd4f3effc3829a1854db Reviewed-on: https://chromium-review.googlesource.com/c/1329816 Reviewed-by: Ben Wells <benwells@chromium.org> Reviewed-by: Sam McNally <sammc@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Nicholas Verne <nverne@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#607778}
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 .