Filter DriveFS file change notifications to just watched directories.
Currently, all DriveFS change notifications are forwarded to the UI. Some parts do their own checks for matching the expected directory, but others do not; one part that does not is DirectoryTree, which triggers a rescan of any changed directories. Filter to just directories with a registered watcher like the old Drive client does. Bug: 943886 Change-Id: If106ef054e5bfbdd16697e41d74b176996c6750f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1529896Reviewed-by:Sergei Datsenko <dats@chromium.org> Commit-Queue: Sam McNally <sammc@chromium.org> Cr-Commit-Position: refs/heads/master@{#642357}
Showing
Please register or sign in to comment