Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/workers/nsIWorkerChannelInfo.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWorkerChannelLoadInfo",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [infallible] attribute unsigned long long workerAssociatedBrowsingContextID; */
Method {
name: "GetWorkerAssociatedBrowsingContextID",
params: &[Param { name: "aWorkerAssociatedBrowsingContextID", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetWorkerAssociatedBrowsingContextID",
params: &[Param { name: "aWorkerAssociatedBrowsingContextID", ty: "u64" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute BrowsingContext workerAssociatedBrowsingContext; */
Method {
name: "GetWorkerAssociatedBrowsingContext",
params: &[Param { name: "aWorkerAssociatedBrowsingContext", ty: "*mut *const libc::c_void" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIWorkerChannelInfo",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* attribute nsIWorkerChannelLoadInfo loadInfo; */
Method {
name: "GetLoadInfo",
params: &[Param { name: "aLoadInfo", ty: "*mut *const nsIWorkerChannelLoadInfo" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetLoadInfo",
params: &[Param { name: "aLoadInfo", ty: "*const nsIWorkerChannelLoadInfo" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute uint64_t channelId; */
Method {
name: "GetChannelId",
params: &[Param { name: "aChannelId", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}