Initialize this downloader.
void init( in nsIDownloadObserver observer, in nsIFile downloadLocation );
- The nsIDownloadObserver to be notified when the download completes.
The location where the stream contents should be written. If
null, the downloader will select a location and the resulting file will be deleted (or otherwise made invalid) when the downloader object is destroyed. If an explicit download location is specified then the resulting file will not be deleted, and it will be the callers responsibility to keep track of the file, and so on.