Ensure the destination url reported to ImportHistory is correctly encoded.
commit4cf03c77e61e92b6bf84955b006422b41927d23a
authorsmckay <smckay@chromium.org>
Thu, 26 Feb 2015 06:18:39 +0000 (25 22:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 06:19:11 +0000 (26 06:19 +0000)
treecb6cf10e994638f0126537916c8fa7ae288ea9bb
parent2a1dd1c63c6e26f53120b4362dcaa8b8a9e830ae
Ensure the destination url reported to ImportHistory is correctly encoded.
Eliminates a bug where files will spaces in name were not being marked as synced.

Also:
1) Remove an unused method (with a TODO body) in ImportTask.

BUG=461174
TEST=browser_test: FileManagerJsTest.*

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

Cr-Commit-Position: refs/heads/master@{#318197}
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/common/js/mock_entry.js
ui/file_manager/file_manager/common/js/test_importer_common.js