//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/content-classifier/nsIContentClassifierService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIContentClassifierProbeRequest",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute ACString url; */
Method {
name: "GetUrl",
params: &[Param { name: "aUrl", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString sourceUrl; */
Method {
name: "GetSourceUrl",
params: &[Param { name: "aSourceUrl", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString topWindowUrl; */
Method {
name: "GetTopWindowUrl",
params: &[Param { name: "aTopWindowUrl", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString requestType; */
Method {
name: "GetRequestType",
params: &[Param { name: "aRequestType", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean privateBrowsing; */
Method {
name: "GetPrivateBrowsing",
params: &[Param { name: "aPrivateBrowsing", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean forceThirdPartyToTop; */
Method {
name: "GetForceThirdPartyToTop",
params: &[Param { name: "aForceThirdPartyToTop", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean isNonRecommendedAddon; */
Method {
name: "GetIsNonRecommendedAddon",
params: &[Param { name: "aIsNonRecommendedAddon", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIContentClassifierProbeResult",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute ACString featureName; */
Method {
name: "GetFeatureName",
params: &[Param { name: "aFeatureName", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean matched; */
Method {
name: "GetMatched",
params: &[Param { name: "aMatched", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean exception; */
Method {
name: "GetException",
params: &[Param { name: "aException", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean important; */
Method {
name: "GetImportant",
params: &[Param { name: "aImportant", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsresult engineResult; */
Method {
name: "GetEngineResult",
params: &[Param { name: "aEngineResult", ty: "*mut nserror::nsresult" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIContentClassifierService",
base: Some("nsISupports"),
sync: false,
methods: Err("jscontext is unsupported"),
},
Interface {
name: "nsIContentClassifierProbeReport",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute nsIContentClassifierService_ProbeStatus status; */
Method {
name: "GetStatus",
params: &[Param { name: "aStatus", ty: "*mut u8" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<nsIContentClassifierProbeResult> results; */
Method {
name: "GetResults",
params: &[Param { name: "aResults", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsIContentClassifierProbeResult>>>" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}