function downloadManager() {
  this._controller = null;
  this.downloadState = downloadState;

  this._dms = Cc["@mozilla.org/download-manager;1"].
              getService(Ci.nsIDownloadManager);
}
function downloadManager() {
  this._controller = null;
  this.downloadState = downloadState;

  this._dms = Cc["@mozilla.org/download-manager;1"].
              getService(Ci.nsIDownloadManager);
}
function downloadManager ( ) { this . _controller = null ; this . downloadState = downloadState ; this . _dms = Cc [ "@mozilla.org/download-manager;1" ] . getService ( Ci . nsIDownloadManager ) ; }
Constructor
Constructor
A download manager.