Files.app: Do not run thumbnail fetch during directory scan.
commitee41ade513464f548961a22e313a6177558adcce
authoryawano <yawano@chromium.org>
Thu, 26 Mar 2015 05:53:47 +0000 (25 22:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 05:54:53 +0000 (26 05:54 +0000)
treed6e47bb9bf815d820cf4fb93a15656e02c28a8d3
parent5d75fb5a411a0f9cb18d893965c8e207f08a3918
Files.app: Do not run thumbnail fetch during directory scan.

In order not to block IO of directory scan by IO of thumbnail fetch,
do not run thumbnail fetch when directory scan is running.

BUG=470462
TEST=out/Release/browser_tests --gtest_filter=FileManagerJsTest.ListThumbnailLoader

Review URL: https://codereview.chromium.org/1031293005

Cr-Commit-Position: refs/heads/master@{#322330}
ui/file_manager/file_manager/foreground/js/file_manager.js
ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js
ui/file_manager/file_manager/foreground/js/list_thumbnail_loader_unittest.js