Generated file

Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/webauthn/nsIWebAuthnRelatedOriginFetcher.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWebAuthnRelatedOriginCheckCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void resolved (); */
Method {
name: "Resolved",
params: &[],
ret: "::nserror::nsresult",
},
/* void rejected (); */
Method {
name: "Rejected",
params: &[],
ret: "::nserror::nsresult",
},
/* void userCancel (); */
Method {
name: "UserCancel",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIWebAuthnRelatedOriginFetcher",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void checkRelatedOriginRequest (in WindowGlobalParent aManager, in ACString aRpId, in boolean aIsCreate, in boolean aShowPrompt, in nsIWebAuthnRelatedOriginCheckCallback aCallback); */
Method {
name: "CheckRelatedOriginRequest",
params: &[Param { name: "aManager", ty: "*const libc::c_void" }, Param { name: "aRpId", ty: "*const ::nsstring::nsACString" }, Param { name: "aIsCreate", ty: "bool" }, Param { name: "aShowPrompt", ty: "bool" }, Param { name: "aCallback", ty: "*const nsIWebAuthnRelatedOriginCheckCallback" }],
ret: "::nserror::nsresult",
},
/* void cancel (); */
Method {
name: "Cancel",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
]; D}