Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/glean/xpcom/nsIGleanPing.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIGleanPingTestCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void call (in ACString aReason); */
Method {
name: "Call",
params: &[Param { name: "aReason", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIGleanPing",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void submit ([optional] in ACString aReason); */
Method {
name: "Submit",
params: &[Param { name: "aReason", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* void testBeforeNextSubmit (in nsIGleanPingTestCallback aCallback); */
Method {
name: "TestBeforeNextSubmit",
params: &[Param { name: "aCallback", ty: "*const nsIGleanPingTestCallback" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}