DescriptionUpdate scanning to scan files in small batches (well batches of 1)...this fixes an issue where scanning appeared to be frozen for long periods of time.
This change also sets the stage for making Scans cancelable...which we'll want to do when a user changes directory...and even allow them to explicitly cancel a scan from the details panel.
TEST=MediaScannerTest
TBR=hirono // for mock_media_scanner.js
Committed: https://crrev.com/5f0cd3385cbd2bbd7114651ed296188fe6a0603d
Cr-Commit-Position: refs/heads/master@{#322099}
Patch Set 1 #Patch Set 2 : Update test media scanner test double with new scan methods. #
Total comments: 2
Patch Set 3 : Respond to review comments. #
Messages
Total messages: 11 (3 generated)
|