Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/backgroundtasks/nsIBackgroundTasksRunner.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIBackgroundTasksRunner",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void runInDetachedProcess (in ACString aTaskName, in Array<ACString> aCommandLine); */
Method {
name: "RunInDetachedProcess",
params: &[Param { name: "aTaskName", ty: "*const ::nsstring::nsACString" }, Param { name: "aCommandLine", ty: "*const thin_vec::ThinVec<::nsstring::nsCString>" }],
ret: "::nserror::nsresult",
},
/* void removeDirectoryInDetachedProcess (in ACString aParentDirPath, in ACString aChildDirName, in ACString aSecondsToWait, in ACString aOtherFoldersSuffix, [optional] in ACString aMetricsId); */
Method {
name: "RemoveDirectoryInDetachedProcess",
params: &[Param { name: "aParentDirPath", ty: "*const ::nsstring::nsACString" }, Param { name: "aChildDirName", ty: "*const ::nsstring::nsACString" }, Param { name: "aSecondsToWait", ty: "*const ::nsstring::nsACString" }, Param { name: "aOtherFoldersSuffix", ty: "*const ::nsstring::nsACString" }, Param { name: "aMetricsId", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}