webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | List of all members
<WebQuotaManager> Protocol Reference

#import <WebQuotaManager.h>

Inheritance diagram for <WebQuotaManager>:
WebApplicationCacheQuotaManager WebDatabaseQuotaManager

Instance Methods

(id- initWithOrigin:
 
(WebSecurityOrigin *) - origin
 
(unsigned long long) - usage
 
(unsigned long long) - quota
 
(void- setQuota:
 

Detailed Description

This protocol is used to view and manipulate a per-origin storage quota.

Method Documentation

◆ initWithOrigin:()

- (id) initWithOrigin: (WebSecurityOrigin *)  origin

initWithOrigin:

Parameters
originThe security origin this will manage.
Returns
A new WebQuotaManager object.

◆ origin()

- (WebSecurityOrigin *) origin

origin

Returns
The security origin this manager is managing.

◆ quota()

- (unsigned long long) quota

quota

Returns
The current quota of security origin in bytes.

◆ setQuota:()

- (void) setQuota: (unsigned long long)  quota

setQuota:

Parameters
quotaa new quota, in bytes, to set on this security origin.

◆ usage()

- (unsigned long long) usage

usage

Returns
The current total usage of all relevant items in this security origin in bytes.

The documentation for this protocol was generated from the following file: