Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/quota/nsIQuotaManagerService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIQuotaManagerService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [must_use] nsIQuotaRequest storageName (); */
Method {
name: "StorageName",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest storageInitialized (); */
Method {
name: "StorageInitialized",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest persistentStorageInitialized (); */
Method {
name: "PersistentStorageInitialized",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest temporaryStorageInitialized (); */
Method {
name: "TemporaryStorageInitialized",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest temporaryGroupInitialized (in nsIPrincipal aPrincipal); */
Method {
name: "TemporaryGroupInitialized",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest persistentOriginInitialized (in nsIPrincipal aPrincipal); */
Method {
name: "PersistentOriginInitialized",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest temporaryOriginInitialized (in ACString aPersistenceType, in nsIPrincipal aPrincipal); */
Method {
name: "TemporaryOriginInitialized",
params: &[Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest init (); */
Method {
name: "Init",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initializePersistentStorage (); */
Method {
name: "InitializePersistentStorage",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initTemporaryStorage (); */
Method {
name: "InitTemporaryStorage",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initializeTemporaryGroup (in nsIPrincipal aPrincipal); */
Method {
name: "InitializeTemporaryGroup",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initializePersistentOrigin (in nsIPrincipal aPrincipal); */
Method {
name: "InitializePersistentOrigin",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initializeTemporaryOrigin (in ACString aPersistenceType, in nsIPrincipal aPrincipal, [optional] in boolean aCreateIfNonExistent); */
Method {
name: "InitializeTemporaryOrigin",
params: &[Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aCreateIfNonExistent", ty: "bool" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initializePersistentClient (in nsIPrincipal aPrincipal, in AString aClientType); */
Method {
name: "InitializePersistentClient",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aClientType", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest initializeTemporaryClient (in ACString aPersistenceType, in nsIPrincipal aPrincipal, in AString aClientType); */
Method {
name: "InitializeTemporaryClient",
params: &[Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aClientType", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest getFullOriginMetadata (in ACString aPersistenceType, in nsIPrincipal aPrincipal); */
Method {
name: "GetFullOriginMetadata",
params: &[Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaUsageRequest getUsage (in nsIQuotaUsageCallback aCallback, [optional] in boolean aGetAll); */
Method {
name: "GetUsage",
params: &[Param { name: "aCallback", ty: "*const nsIQuotaUsageCallback" }, Param { name: "aGetAll", ty: "bool" }, Param { name: "_retval", ty: "*mut*const nsIQuotaUsageRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaUsageRequest getUsageForPrincipal (in nsIPrincipal aPrincipal, in nsIQuotaUsageCallback aCallback); */
Method {
name: "GetUsageForPrincipal",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aCallback", ty: "*const nsIQuotaUsageCallback" }, Param { name: "_retval", ty: "*mut*const nsIQuotaUsageRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest getCachedUsageForPrincipal (in nsIPrincipal aPrincipal); */
Method {
name: "GetCachedUsageForPrincipal",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest listOrigins (); */
Method {
name: "ListOrigins",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest clear (); */
Method {
name: "Clear",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest clearStoragesForPrivateBrowsing (); */
Method {
name: "ClearStoragesForPrivateBrowsing",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest clearStoragesForOriginAttributesPattern (in AString aPattern); */
Method {
name: "ClearStoragesForOriginAttributesPattern",
params: &[Param { name: "aPattern", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest clearStoragesForPrincipal (in nsIPrincipal aPrincipal, [optional] in ACString aPersistenceType); */
Method {
name: "ClearStoragesForPrincipal",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest clearStoragesForClient (in nsIPrincipal aPrincipal, in AString aClientType, [optional] in ACString aPersistenceType); */
Method {
name: "ClearStoragesForClient",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aClientType", ty: "*const ::nsstring::nsAString" }, Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest clearStoragesForOriginPrefix (in nsIPrincipal aPrincipal, [optional] in ACString aPersistenceType); */
Method {
name: "ClearStoragesForOriginPrefix",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest reset (); */
Method {
name: "Reset",
params: &[Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest resetStoragesForPrincipal (in nsIPrincipal aPrincipal, [optional] in ACString aPersistenceType); */
Method {
name: "ResetStoragesForPrincipal",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest resetStoragesForClient (in nsIPrincipal aPrincipal, in AString aClientType, [optional] in ACString aPersistenceType); */
Method {
name: "ResetStoragesForClient",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aClientType", ty: "*const ::nsstring::nsAString" }, Param { name: "aPersistenceType", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest persisted (in nsIPrincipal aPrincipal); */
Method {
name: "Persisted",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest persist (in nsIPrincipal aPrincipal); */
Method {
name: "Persist",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
/* [must_use] nsIQuotaRequest estimate (in nsIPrincipal aPrincipal); */
Method {
name: "Estimate",
params: &[Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut*const nsIQuotaRequest" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}