Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/cache2/nsICacheStorageVisitor.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICacheStorageVisitor",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onCacheStorageInfo (in uint32_t aEntryCount, in uint64_t aConsumption, in uint64_t aCapacity, in nsIFile aDiskDirectory); */
Method {
name: "OnCacheStorageInfo",
params: &[Param { name: "aEntryCount", ty: "u32" }, Param { name: "aConsumption", ty: "u64" }, Param { name: "aCapacity", ty: "u64" }, Param { name: "aDiskDirectory", ty: "*const nsIFile" }],
ret: "::nserror::nsresult",
},
/* void onCacheEntryInfo (in nsIURI aURI, in ACString aIdEnhance, in int64_t aDataSize, in int64_t aAltDataSize, in uint32_t aFetchCount, in uint32_t aLastModifiedTime, in uint32_t aExpirationTime, in boolean aPinned, in nsILoadContextInfo aInfo); */
Method {
name: "OnCacheEntryInfo",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aIdEnhance", ty: "*const ::nsstring::nsACString" }, Param { name: "aDataSize", ty: "i64" }, Param { name: "aAltDataSize", ty: "i64" }, Param { name: "aFetchCount", ty: "u32" }, Param { name: "aLastModifiedTime", ty: "u32" }, Param { name: "aExpirationTime", ty: "u32" }, Param { name: "aPinned", ty: "bool" }, Param { name: "aInfo", ty: "*const nsILoadContextInfo" }],
ret: "::nserror::nsresult",
},
/* void onCacheEntryVisitCompleted (); */
Method {
name: "OnCacheEntryVisitCompleted",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
]; D}