Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/quota/nsIQuotaResults.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIQuotaFullOriginMetadataResult",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute ACString suffix; */
Method {
name: "GetSuffix",
params: &[Param { name: "aSuffix", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString group; */
Method {
name: "GetGroup",
params: &[Param { name: "aGroup", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString origin; */
Method {
name: "GetOrigin",
params: &[Param { name: "aOrigin", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString storageOrigin; */
Method {
name: "GetStorageOrigin",
params: &[Param { name: "aStorageOrigin", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString persistenceType; */
Method {
name: "GetPersistenceType",
params: &[Param { name: "aPersistenceType", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean persisted; */
Method {
name: "GetPersisted",
params: &[Param { name: "aPersisted", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute long long lastAccessTime; */
Method {
name: "GetLastAccessTime",
params: &[Param { name: "aLastAccessTime", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIQuotaUsageResult",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute ACString origin; */
Method {
name: "GetOrigin",
params: &[Param { name: "aOrigin", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean persisted; */
Method {
name: "GetPersisted",
params: &[Param { name: "aPersisted", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long long usage; */
Method {
name: "GetUsage",
params: &[Param { name: "aUsage", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long long lastAccessed; */
Method {
name: "GetLastAccessed",
params: &[Param { name: "aLastAccessed", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIQuotaOriginUsageResult",
base: Some("nsISupports"),
sync: false,
methods: Err("nostdcall is unsupported"),
},
Interface {
name: "nsIQuotaEstimateResult",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute unsigned long long usage; */
Method {
name: "GetUsage",
params: &[Param { name: "aUsage", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long long limit; */
Method {
name: "GetLimit",
params: &[Param { name: "aLimit", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}