Description[fsp] Implement storage::WatcherManager for FSP.
This patch implements the storage::WatcherManager interface, which simply calls
the Add/RemoveWatcher methods on ProvidedFileSystemInterface implementations.
An additional callback has been added to AddWatcher, so it's easy to notify
WatcherManager about changes. Without that, we would have to observe provided
file system objects and store callbacks passed to WatcherManager::AddWatcher,
which would make the code complex.
Along the way the storage::WatcherManager interface has been refactored to have
consistent naming with FSP watching methods.
TEST=unit_tests: *ProvidedFileSystem*
BUG=248427
Committed: https://crrev.com/340ba2068e2171d80b347fc2ca340446b6c265ec
Cr-Commit-Position: refs/heads/master@{#302229}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixed. #Messages
Total messages: 11 (3 generated)
|