Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDataChannel.cpp File Reference
#include "nsDataChannel.h"
#include "nsIServiceManager.h"
#include "nsIEventQueueService.h"
#include "nsNetUtil.h"
#include "nsInt64.h"
#include "nsILoadGroup.h"
#include "plbase64.h"
#include "prmem.h"
#include "nsIPipe.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#include "nsNetSegmentUtils.h"
#include "nsCRT.h"
#include "nsEscape.h"
#include "nsNetCID.h"

Go to the source code of this file.

Functions

 NS_IMPL_ISUPPORTS5 (nsDataChannel, nsIDataChannel, nsIChannel, nsIRequest, nsIRequestObserver, nsIStreamListener) nsresult nsDataChannel

Function Documentation

Definition at line 68 of file nsDataChannel.cpp.

{
    // Data urls contain all the data within the url string itself.
    mUrl = uri;

    nsresult rv;
    mPump = do_CreateInstance(NS_INPUTSTREAMPUMP_CONTRACTID, &rv);
    if (NS_FAILED(rv))
      return rv;

    rv = ParseData();

    return rv;
}

Here is the call graph for this function: