Classes | Defines

nsURILoader.h File Reference

#include "nsCURILoader.h"
#include "nsISupportsUtils.h"
#include "nsCOMArray.h"
#include "nsCOMPtr.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsString.h"
#include "nsIWeakReference.h"
#include "prlog.h"
Include dependency graph for nsURILoader.h:

Classes

class  nsURILoader

Defines

#define NS_ERROR_MALWARE_URI   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 30)
 The load has been cancelled because it was found on a malware or phishing blacklist.
#define NS_ERROR_PHISHING_URI   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 31)
#define NS_ERROR_SAVE_LINK_AS_TIMEOUT   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 32)
 Used when "Save Link As..." doesn't see the headers quickly enough to choose a filename.
#define NS_ERROR_PARSED_DATA_CACHED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 33)
 Used when the data from a channel has already been parsed and cached so it doesn't need to be reparsed from the original source.

Define Documentation

#define NS_ERROR_MALWARE_URI   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 30)

The load has been cancelled because it was found on a malware or phishing blacklist.

XXX: this belongs in an nsDocShellErrors.h file of some sort.

#define NS_ERROR_PARSED_DATA_CACHED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 33)

Used when the data from a channel has already been parsed and cached so it doesn't need to be reparsed from the original source.

#define NS_ERROR_PHISHING_URI   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 31)
#define NS_ERROR_SAVE_LINK_AS_TIMEOUT   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_URILOADER, 32)

Used when "Save Link As..." doesn't see the headers quickly enough to choose a filename.

See nsContextMenu.js.