Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.

git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1999-11-18 07:36:41 +00:00
parent 4eb376a28d
commit cbcd671c5d
72 changed files with 209 additions and 229 deletions

View File

@@ -65,7 +65,7 @@ nsInputStreamChannel::Init(nsIURI* uri,
PRInt32 contentLength,
nsIInputStream* in,
nsILoadGroup *aGroup,
nsICapabilities* notificationCallbacks,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI)
{
@@ -304,7 +304,7 @@ nsInputStreamChannel::SetOwner(nsISupports* aOwner)
}
NS_IMETHODIMP
nsInputStreamChannel::GetNotificationCallbacks(nsICapabilities* *aNotificationCallbacks)
nsInputStreamChannel::GetNotificationCallbacks(nsIInterfaceRequestor* *aNotificationCallbacks)
{
*aNotificationCallbacks = mCallbacks.get();
NS_IF_ADDREF(*aNotificationCallbacks);
@@ -312,7 +312,7 @@ nsInputStreamChannel::GetNotificationCallbacks(nsICapabilities* *aNotificationCa
}
NS_IMETHODIMP
nsInputStreamChannel::SetNotificationCallbacks(nsICapabilities* aNotificationCallbacks)
nsInputStreamChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCallbacks)
{
mCallbacks = aNotificationCallbacks;
return NS_OK;