From 65dcad445a15870183db170e7232292fe550aa29 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.demon.co.uk" Date: Tue, 4 Apr 2006 16:21:50 +0000 Subject: [PATCH] Follow up to Bug 239136, remove redundant ifdefs now that Thunderbird is using the toolkit download manager. r=benjamin,sr=mscott git-svn-id: svn://10.0.0.236/trunk@193517 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/download-manager/src/nsDownloadManager.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp b/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp index d355c7d8498..4e898e0c5b4 100644 --- a/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp +++ b/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp @@ -62,9 +62,7 @@ #include "nsIProfileChangeStatus.h" #include "nsIPrefService.h" #include "nsIFileURL.h" -#ifndef MOZ_THUNDERBIRD #include "nsIAlertsService.h" -#endif #include "nsEmbedCID.h" #include "nsInt64.h" @@ -1174,7 +1172,6 @@ nsDownload::OnStatusChange(nsIWebProgress *aWebProgress, void nsDownload::DisplayDownloadFinishedAlert() { nsresult rv; -#ifndef MOZ_THUNDERBIRD nsCOMPtr alertsService(do_GetService(NS_ALERTSERVICE_CONTRACTID, &rv)); if (NS_FAILED(rv)) return; @@ -1205,7 +1202,6 @@ void nsDownload::DisplayDownloadFinishedAlert() alertsService->ShowAlertNotification(NS_LITERAL_STRING("moz-icon://") + NS_ConvertUTF8toUTF16(url), finishedTitle, finishedText, PR_TRUE, NS_LITERAL_STRING("download"), this); -#endif } NS_IMETHODIMP