39 #include "nsIGenericFactory.h"
40 #include "nsIContentSniffer.h"
41 #include "nsIStreamListener.h"
42 #include "nsStringAPI.h"
48 NS_DECL_NSICONTENTSNIFFER
49 NS_DECL_NSIREQUESTOBSERVER
50 NS_DECL_NSISTREAMLISTENER
54 const char* rawSegment,
57 PRUint32* writeCount);
59 static NS_METHOD
Register(nsIComponentManager* compMgr, nsIFile*
path,
60 const char* registryLocation,
61 const char* componentType,
62 const nsModuleComponentInfo *info);
69 nsCString mDecodedData;
NS_DECL_ISUPPORTS NS_DECL_NSICONTENTSNIFFER NS_DECL_NSIREQUESTOBSERVER static NS_DECL_NSISTREAMLISTENER NS_METHOD AppendSegmentToString(nsIInputStream *inputStream, void *closure, const char *rawSegment, PRUint32 toOffset, PRUint32 count, PRUint32 *writeCount)
static NS_METHOD Register(nsIComponentManager *compMgr, nsIFile *path, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
nsresult ConvertEncodedData(nsIRequest *request, const PRUint8 *data, PRUint32 length)