download-manager: allow download-show to work with paused downloads from a previous...
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>
Sun, 10 Feb 2013 22:14:49 +0000 (14:14 -0800)
committerJeremy Maitin-Shepard <jeremy@jeremyms.com>
Sun, 10 Feb 2013 22:14:49 +0000 (14:14 -0800)
commitea8e8fe8a36c00e063f69fcd967a7055fcc954d2
tree4de2bfccd47a872b394a8be9f3c75be6b103cfe0
parentd2597ea53882714f884074f41da67e7445814715
download-manager: allow download-show to work with paused downloads from a previous process

A new download_info object is created when the user attempts to show
such a download, instead of producing an error in the completer.

Additionally, there is now existing_download_added_hook, which is
called when a download_info object is created in response to a
download from a previous process.
modules/download-manager.js