Home | History | Annotate | Download | only in webkit

Lines Matching defs:Origin

30  * Cache API can be attributed to an origin {@link WebStorage.Origin}, however
31 * it is not possible to set per-origin quotas. Note that there can be only
34 * The Web SQL Database API provides storage which is private to a given origin.
36 * to an origin. It is also possible to set per-origin quotas.
60 * currently used by an origin for the JavaScript storage APIs.
61 * An origin comprises the host, scheme and port of a URI.
64 public static class Origin {
71 protected Origin(String origin, long quota, long usage) {
72 mOrigin = origin;
78 * Gets the string representation of this origin.
80 * @return the string representation of this origin
82 // An origin string is created using WebCore::SecurityOrigin::toString().
92 * Gets the quota for this origin, for the Web SQL Database API, in
93 * bytes. If this origin does not use the Web SQL Database API, this
103 * Gets the total amount of storage currently being used by this origin,
129 * a map, of type {@code Map<String, WebStorage.Origin>}, from the string
130 * representation of the origin to a {@link WebStorage.Origin} object.
138 * Cache and Web SQL Database APIs by the given origin. The amount is given
139 * in bytes and the origin is specified using its string representation.
143 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) {
148 * Gets the storage quota for the Web SQL Database API for the given origin.
149 * The quota is given in bytes and the origin is specified using its string
152 * enforced on a per-origin basis for the Application Cache API.
154 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) {
159 * Sets the storage quota for the Web SQL Database API for the given origin.
160 * The quota is specified in bytes and the origin is specified using its string
161 * representation. Note that a quota is not enforced on a per-origin basis
163 * @deprecated Controlling quota per-origin will not be supported in future.
166 public void setQuotaForOrigin(String origin, long quota) {
172 * Web SQL Database APIs by the given origin. The origin is specified using
175 public void deleteOrigin(String origin) {