Show a little circly/arrowey badge for files that have been copied locally.
commit45e673e6ff837eeb500c2ad5bcbe5a799e8ba180
authorsmckay <smckay@chromium.org>
Wed, 7 Jan 2015 00:29:38 +0000 (6 16:29 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 7 Jan 2015 00:31:33 +0000 (7 00:31 +0000)
treed92276d4f105ad901e762ee9ddfbf718fe96082b
parent64c523540529f62a66f6a52e888317bf7fc262c1
Show a little circly/arrowey badge for files that have been copied locally.

Update import history code to support tracking locally copied files (and their destinations). Tracking destination is necessary as we'll eventually need to do lookups against destinations in order to mark items as imported when they are fully synced to the cloud.

BUG=420680
TEST=browser_test: FileManagerJsTest.*

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

Cr-Commit-Position: refs/heads/master@{#310189}
ui/file_manager/file_manager/background/js/import_history.js
ui/file_manager/file_manager/background/js/import_history_unittest.html
ui/file_manager/file_manager/background/js/import_history_unittest.js
ui/file_manager/file_manager/background/js/media_import_handler.js
ui/file_manager/file_manager/background/js/media_import_handler_unittest.js
ui/file_manager/file_manager/background/js/test_import_history.js
ui/file_manager/file_manager/common/js/importer_common.js
ui/file_manager/file_manager/foreground/css/file_manager.css
ui/file_manager/file_manager/foreground/images/files/ui/2x/copied_badge.png [new file with mode: 0644]
ui/file_manager/file_manager/foreground/images/files/ui/copied_badge.png [new file with mode: 0644]
ui/file_manager/file_manager/foreground/js/ui/file_grid.js