Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand intervals of rescan operations when directory contents changed.
The listener of chrome.fileBrowserPrivate.onDirectoryChanged is called very frequently when many files are copied into a folder under Downloads. In this case, we can't know the changed_files, so we need to rescan the folder. As this operation is heavy, this patch adds some interval for each rescan. Additionally, 1000ms delay might be too long for UI update, so I changed it to 500ms) BUG=383232 TEST=manually tested the performance. Review URL: https://codereview.chromium.org/460013003 Cr-Commit-Position: refs/heads/master@{#289871} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289871 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information