Bug #56938 --> add a method for retrieving the doc loader's

document channel.
r=sspitzer, sr=rpotts
This commit is contained in:
mscott%netscape.com 2000-11-01 08:04:49 +00:00
Родитель 43861bb84a
Коммит a82d2ce063
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -571,6 +571,13 @@ nsresult nsDocLoaderImpl::RemoveChildGroup(nsDocLoaderImpl* aLoader)
return rv;
}
NS_IMETHODIMP nsDocLoaderImpl::GetDocumentChannel(nsIChannel ** aChannel)
{
*aChannel = mDocumentChannel;
NS_IF_ADDREF(*aChannel);
return NS_OK;
}
void nsDocLoaderImpl::DocLoaderIsEmpty(nsresult aStatus)
{

Просмотреть файл

@ -51,6 +51,7 @@ interface nsIDocumentLoader : nsISupports
// this should really be in a private interface as it is only
// called between a parent doc loader and it's child.
void clearParentDocLoader();
readonly attribute nsIChannel documentChannel;
void fireOnLocationChange(in nsIWebProgress aWebProgress,
in nsIRequest aRequest,