Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/privateattribution/nsIPrivateAttributionService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIPrivateAttributionService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onAttributionEvent (in ACString sourceHost, in ACString type, in uint32_t index, in AString ad, in ACString targetHost); */
Method {
name: "OnAttributionEvent",
params: &[Param { name: "sourceHost", ty: "*const ::nsstring::nsACString" }, Param { name: "type_", ty: "*const ::nsstring::nsACString" }, Param { name: "index", ty: "u32" }, Param { name: "ad", ty: "*const ::nsstring::nsAString" }, Param { name: "targetHost", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* void onAttributionConversion (in ACString targetHost, in AString task, in uint32_t histogramSize, in uint32_t lookbackDays, in ACString impressionType, in Array<AString> ads, in Array<ACString> sourceHosts); */
Method {
name: "OnAttributionConversion",
params: &[Param { name: "targetHost", ty: "*const ::nsstring::nsACString" }, Param { name: "task", ty: "*const ::nsstring::nsAString" }, Param { name: "histogramSize", ty: "u32" }, Param { name: "lookbackDays", ty: "u32" }, Param { name: "impressionType", ty: "*const ::nsstring::nsACString" }, Param { name: "ads", ty: "*const thin_vec::ThinVec<::nsstring::nsString>" }, Param { name: "sourceHosts", ty: "*const thin_vec::ThinVec<::nsstring::nsCString>" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}