Bug 70707. Added CID/ContractID for nsStorageTransport.

This commit is contained in:
darin%netscape.com 2001-03-03 02:11:19 +00:00
parent 1e92fab712
commit 6b4d563f98
2 changed files with 24 additions and 0 deletions

View File

@ -114,5 +114,19 @@
{0x8c, 0xd9, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
}
//
// nsStorageTransport
//
#define NS_STORAGETRANSPORT_CLASSNAME \
"Storage Transport"
#define NS_STORAGETRANSPORT_CONTRACTID \
"@mozilla.org/network/storage-transport;1"
#define NS_STORAGETRANSPORT_CID \
{ /* 5e955cdb-1334-4b8f-86b5-3b0f4d54b9d2 */ \
0x5e955cdb, \
0x1334, \
0x4b8f, \
{0x86, 0xb5, 0x3b, 0x0f, 0x4d, 0x54, 0xb9, 0xd2} \
}
#endif /* !nsNetCID_h__ */

View File

@ -94,6 +94,12 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsSimpleStreamProvider)
///////////////////////////////////////////////////////////////////////////////
#include "nsStorageTransport.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsStorageTransport)
///////////////////////////////////////////////////////////////////////////////
#include "nsIHTTPProtocolHandler.h"
#include "nsHTTPHandler.h"
#include "nsHTTPSHandler.h"
@ -444,6 +450,10 @@ static nsModuleComponentInfo gNetModuleInfo[] = {
NS_ASYNCSTREAMLISTENER_CID,
"@mozilla.org/network/async-stream-listener;1",
nsAsyncStreamListener::Create },
{ NS_STORAGETRANSPORT_CLASSNAME,
NS_STORAGETRANSPORT_CID,
NS_STORAGETRANSPORT_CONTRACTID,
nsStorageTransportConstructor },
/*
{ "Sync Stream Listener",
NS_SYNCSTREAMLISTENER_CID,