Yeah, nsIStreamIO.idl should have been cvs removed after the async streams landing prior to moz 1.3.

nsIFileTransportService is also dead. It was generalized into what is now the nsIStreamTransportService.

-Darin



Christian Biesinger wrote:

Hi,
I recently stumbled over nsIFileIO (http://lxr.mozilla.org/seamonkey/source/netwerk/base/public/nsIStreamIO.idl#100)



However, it seems to be neither implemented or used by anything: http://lxr.mozilla.org/seamonkey/search?string=nsIFileIO http://lxr.mozilla.org/seamonkey/search?string=NS_NewFIleIO

Why is it there? looks like it's basically unmodified since warren's initial checkin in april 2000.

Similarly, nsIInputStreamIO is unused:
http://lxr.mozilla.org/seamonkey/search?string=inputstreamio

I'd like to remove it...

nsIStreamIO itself seems to be used by the cache. I'm not suggesting removing that :)

Er... actually... looking some more, it does not actually seem to be used... the class is just named DiskCacheStreamIO... it doesn'T implement nsIStreamIO though:
/netwerk/cache/src/nsDiskCacheStreams.h, line 58 -- class nsDiskCacheStreamIO : public nsISupports {


So it seems like nsIStreamIO is completely unused.
And with it, nsIStreamIOChannel
http://lxr.mozilla.org/seamonkey/search?string=streamiochannel

Hmm. And it also looks like nsIFileTransportService is unused:
http://lxr.mozilla.org/seamonkey/search?string=nsIFileTransport

Including the defines at http://lxr.mozilla.org/seamonkey/source/netwerk/build/nsNetCID.h#390

A few test programs still reference it... http://lxr.mozilla.org/seamonkey/search?string=NS_FILETRANSPORTSERVICE_


So would anyone mind to my making a patch to remove the aforementioned unused code?


-biesi
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib


_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to