Hook up import history to media scanner.
commita79e4e24a629948ab4ca7ac751539dac1243b594
authorsmckay <smckay@chromium.org>
Mon, 15 Dec 2014 20:51:52 +0000 (15 12:51 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Dec 2014 20:52:22 +0000 (15 20:52 +0000)
tree8e57e7b9ac2939ef79ce042365bf871526bdc374
parent66030761eb9590a13344bd89c74cd138c89d2b7d
Hook up import history to media scanner.

Dedupe files while scanning against local history.
Hook up import history to media scanner in background.

BUG=420680
TEST=browser_test: FileManagerJsTest.*

jwd@ for historgrams.xml.

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

Cr-Commit-Position: refs/heads/master@{#308412}
ui/file_manager/file_manager/background/js/background.js
ui/file_manager/file_manager/background/js/media_scanner.js
ui/file_manager/file_manager/background/js/media_scanner_unittest.html
ui/file_manager/file_manager/background/js/media_scanner_unittest.js
ui/file_manager/file_manager/background/js/test_import_history.js [new file with mode: 0644]
ui/file_manager/file_manager/foreground/js/file_manager.js
ui/file_manager/file_manager/foreground/js/metrics_base.js