From 083341533d4f2f46f8d27ca5e1da4241cbebab2e Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Tue, 22 Mar 2005 23:54:57 +0000 Subject: [PATCH] Bug #286805 --> unable to open attachments in thunderbird. I accidentally checked in code that removed the download manager component registration when I landed Bug #286282. effects thunderbird builds only. git-svn-id: svn://10.0.0.236/trunk@171019 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/components/build2/nsModule.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/xpfe/components/build2/nsModule.cpp b/mozilla/xpfe/components/build2/nsModule.cpp index 79f90b94f9e..66a9d164453 100644 --- a/mozilla/xpfe/components/build2/nsModule.cpp +++ b/mozilla/xpfe/components/build2/nsModule.cpp @@ -47,6 +47,8 @@ #include "nsWindowDataSource.h" #include "nsRDFCID.h" #include "nsAutoComplete.h" +#include "nsDownloadManager.h" +#include "nsDownloadProxy.h" #if defined(MOZ_LDAP_XPCOM) #include "nsLDAPAutoCompleteSession.h" @@ -64,6 +66,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsWindowDataSource, Init) NS_GENERIC_FACTORY_CONSTRUCTOR(nsAutoCompleteItem) NS_GENERIC_FACTORY_CONSTRUCTOR(nsAutoCompleteResults) NS_GENERIC_FACTORY_CONSTRUCTOR(nsFontPackageHandler) +NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsDownloadManager, Init) +NS_GENERIC_FACTORY_CONSTRUCTOR(nsDownloadProxy) #if defined(MOZ_LDAP_XPCOM) NS_GENERIC_FACTORY_CONSTRUCTOR(nsLDAPAutoCompleteSession) @@ -91,6 +95,8 @@ RegisterWindowDS(nsIComponentManager *aCompMgr, } static const nsModuleComponentInfo components[] = { + { "Download Manager", NS_DOWNLOADMANAGER_CID, NS_DOWNLOADMANAGER_CONTRACTID, nsDownloadManagerConstructor }, + { "Download", NS_DOWNLOAD_CID, NS_TRANSFER_CONTRACTID, nsDownloadProxyConstructor }, { "AutoComplete Search Results", NS_AUTOCOMPLETERESULTS_CID, NS_AUTOCOMPLETERESULTS_CONTRACTID, nsAutoCompleteResultsConstructor},