nsDownload::GetDownloadState(DownloadState* aState) { *aState = mDownloadState; return NS_OK; }
DownloadState GetDownloadState() { return mDownloadState; }
nsDownload::GetDownloadState(DownloadState* aState){  *aState = mDownloadState;  return NS_OK;}