Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsChromeProtocolHandler.cpp File Reference
#include "nsChromeProtocolHandler.h"
#include "nsChromeRegistry.h"
#include "nsCOMPtr.h"
#include "nsContentCID.h"
#include "nsCRT.h"
#include "nsIChannel.h"
#include "nsIChromeRegistry.h"
#include "nsIComponentManager.h"
#include "nsIEventQueue.h"
#include "nsIEventQueueService.h"
#include "nsIFastLoadService.h"
#include "nsIFile.h"
#include "nsIFileURL.h"
#include "nsIFileChannel.h"
#include "nsIIOService.h"
#include "nsIJARChannel.h"
#include "nsIJARURI.h"
#include "nsILoadGroup.h"
#include "nsIObjectOutputStream.h"
#include "nsIScriptSecurityManager.h"
#include "nsIServiceManager.h"
#include "nsIStandardURL.h"
#include "nsIStreamListener.h"
#include "nsNetCID.h"
#include "nsNetUtil.h"
#include "nsXPIDLString.h"
#include "nsString.h"
#include "prlog.h"

Go to the source code of this file.

Classes

class  nsCachedChromeChannel
struct  nsCachedChromeChannel::LoadEvent

Functions

static NS_DEFINE_CID (kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID)
static NS_DEFINE_CID (kIOServiceCID, NS_IOSERVICE_CID)
static NS_DEFINE_CID (kStandardURLCID, NS_STANDARDURL_CID)
 NS_IMPL_ISUPPORTS2 (nsCachedChromeChannel, nsIChannel, nsIRequest) nsresult nsCachedChromeChannel

Variables

nsIChromeRegistrygChromeRegistry

Class Documentation

struct nsCachedChromeChannel::LoadEvent

Definition at line 126 of file nsChromeProtocolHandler.cpp.

Collaboration diagram for nsCachedChromeChannel::LoadEvent:
Class Members
nsCachedChromeChannel * mChannel
PLEvent mEvent

Function Documentation

static NS_DEFINE_CID ( kIOServiceCID  ,
NS_IOSERVICE_CID   
) [static]
static NS_DEFINE_CID ( kStandardURLCID  ,
NS_STANDARDURL_CID   
) [static]

Definition at line 169 of file nsChromeProtocolHandler.cpp.

{
    NS_PRECONDITION(aURI != nsnull, "null ptr");
    if (! aURI)
        return NS_ERROR_NULL_POINTER;

    nsCachedChromeChannel* channel = new nsCachedChromeChannel(aURI);
    if (! channel)
        return NS_ERROR_OUT_OF_MEMORY;

    *aResult = channel;
    NS_ADDREF(*aResult);
    return NS_OK;
}

Here is the call graph for this function:


Variable Documentation

Definition at line 115 of file nsChromeRegistry.cpp.