Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/uriloader/base/nsITransfer.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITransfer",
base: Some("nsIWebProgressListener2"),
sync: false,
methods: Ok(&[
/* void init (in nsIURI aSource, in nsIURI aSourceOriginalURI, in nsIURI aTarget, in AString aDisplayName, in nsIMIMEInfo aMIMEInfo, in PRTime startTime, in nsIFile aTempFile, in nsICancelable aCancelable, in boolean aIsPrivate, in long aDownloadClassification, in nsIReferrerInfo aReferrerInfo, [optional] in boolean aOpenDownloadsListOnStart); */
Method {
name: "Init",
params: &[Param { name: "aSource", ty: "*const nsIURI" }, Param { name: "aSourceOriginalURI", ty: "*const nsIURI" }, Param { name: "aTarget", ty: "*const nsIURI" }, Param { name: "aDisplayName", ty: "*const ::nsstring::nsAString" }, Param { name: "aMIMEInfo", ty: "*const nsIMIMEInfo" }, Param { name: "startTime", ty: "PRTime" }, Param { name: "aTempFile", ty: "*const nsIFile" }, Param { name: "aCancelable", ty: "*const nsICancelable" }, Param { name: "aIsPrivate", ty: "bool" }, Param { name: "aDownloadClassification", ty: "i32" }, Param { name: "aReferrerInfo", ty: "*const nsIReferrerInfo" }, Param { name: "aOpenDownloadsListOnStart", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* void initWithBrowsingContext (in nsIURI aSource, in nsIURI aTarget, in AString aDisplayName, in nsIMIMEInfo aMIMEInfo, in PRTime startTime, in nsIFile aTempFile, in nsICancelable aCancelable, in boolean aIsPrivate, in long aDownloadClassification, in nsIReferrerInfo aReferrerInfo, in boolean aOpenDownloadsListOnStart, in BrowsingContext aBrowsingContext, in boolean aHandleInternally, in nsIHttpChannel aHttpChannel); */
Method {
name: "InitWithBrowsingContext",
params: &[Param { name: "aSource", ty: "*const nsIURI" }, Param { name: "aTarget", ty: "*const nsIURI" }, Param { name: "aDisplayName", ty: "*const ::nsstring::nsAString" }, Param { name: "aMIMEInfo", ty: "*const nsIMIMEInfo" }, Param { name: "startTime", ty: "PRTime" }, Param { name: "aTempFile", ty: "*const nsIFile" }, Param { name: "aCancelable", ty: "*const nsICancelable" }, Param { name: "aIsPrivate", ty: "bool" }, Param { name: "aDownloadClassification", ty: "i32" }, Param { name: "aReferrerInfo", ty: "*const nsIReferrerInfo" }, Param { name: "aOpenDownloadsListOnStart", ty: "bool" }, Param { name: "aBrowsingContext", ty: "*const libc::c_void" }, Param { name: "aHandleInternally", ty: "bool" }, Param { name: "aHttpChannel", ty: "*const nsIHttpChannel" }],
ret: "::nserror::nsresult",
},
/* void setSha256Hash (in ACString aHash); */
Method {
name: "SetSha256Hash",
params: &[Param { name: "aHash", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* void setSignatureInfo (in Array<Array<Array<uint8_t>>> aSignatureInfo); */
Method {
name: "SetSignatureInfo",
params: &[Param { name: "aSignatureInfo", ty: "*const thin_vec::ThinVec<thin_vec::ThinVec<thin_vec::ThinVec<u8>>>" }],
ret: "::nserror::nsresult",
},
/* void setRedirects (in nsIArray aRedirects); */
Method {
name: "SetRedirects",
params: &[Param { name: "aRedirects", ty: "*const nsIArray" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}