Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Returns true if data from a URL with this extension combination is to be decoded from aEncodingType prior to saving or passing off to helper apps, false otherwise.
Binds an external helper application to a stream listener. The caller should pump data into the returned stream listener. When the OnStopRequest is issued, the stream listener implementation will launch the helper app with this data. Replaces doContent for native code, and uses BrowsingContext.
A nsIStreamListener which the caller should pump the data into.
The content type of the incoming data
The request corresponding to the incoming data
The BrowsingContext that the request was initiated by. Used for closing the window if we opened one specifically for this download.
True to always save this content to disk, regardless of nsIMIMEInfo and other such influences.
Used in parenting helper app dialogs, usually points to the parent browser window. This parameter may be null, in which case dialogs will be parented to aContentContext.
Binds an external helper application to a stream listener. The caller should pump data into the returned stream listener. When the OnStopRequest is issued, the stream listener implementation will launch the helper app with this data.
A nsIStreamListener which the caller should pump the data into.
The content type of the incoming data
The request corresponding to the incoming data
Used in processing content document refresh headers after target content is downloaded.
True to always save this content to disk, regardless of nsIMIMEInfo and other such influences.
Used in parenting helper app dialogs, usually points to the parent browser window. This parameter may be null, in which case dialogs will be parented to aContentContext.
Generated using TypeDoc
The external helper app service is used for finding and launching platform specific external applications for a given mime content type.