Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager. M dom/src/base/nsGlobalWindow.cpp M gfx/src/nsImageNetContextSync.cpp M layout/html/document/src/nsHTMLDocument.cpp M network/module/nsURL.cpp Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls. M network/module/Makefile M network/module/makefile.win Added nsNetFactory.cpp to the builds. M network/module/nsINetService.h Added a #define for the class id of the nsNetService. M network/module/nsIStreamListener.h Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves. M network/module/nsNetFile.cpp Fixed memory leak. M network/module/nsNetService.cpp Globalized the gNetlibService variable so the NetFactory can access it. M webshell/src/nsDocLoader.cpp M webshell/src/nsPluginViewer.cpp NS_DEFINE_IID of kIStreamListenerIID M webshell/tests/viewer/nsSetupRegistry.cpp Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids. git-svn-id: svn://10.0.0.236/trunk@10234 18797224-902f-48f8-a5cc-f745e15eee43
20 KiB
20 KiB