Adds HoldingSpaceFileSystemDelegate.
This delegate is the first of the `HoldingSpaceKeyedServiceDelegates` to be added. A follow up CL will refactor existing service logic into a `HoldingSpaceDownloadsDelegate` and `HoldingSpacePersistenceDelegate`. The delegate added in this CL is tasked with watching the local file system for changes to files backing holding space items. It notifies the service on file removal so that it can perform model updates. Currently, a watcher is added per file but this will later be changed to a single watcher per directory. This CL is mostly concerned with getting things in place and additional optimization can come later. Bug: 1122418 Change-Id: I9a796bd1318268a62e0c7227a9a299b566cc2ffc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2382399 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#802863}
Showing
Please register or sign in to comment