Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index a1ebdf500782d95d6017108e441674a3c1ea7299..6c9539e57876aa16ae7bf4c22a9b83bcbcb444e6 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -184,6 +184,37 @@ |
{ "name": "title", "type": "string", "description": "Title of the navigation history entry." } |
], |
"hidden": true |
+ }, |
+ { |
+ "id": "Quota", |
+ "type": "object", |
+ "description": "Quota information", |
+ "properties": [ |
+ { "name": "temporary", "type": "number", "description": "Quota for temporary storage shared among all security origins" }, |
+ { "name": "persistent", "type": "number", "description": "Quota for persistent storage for the security origin." } |
+ ], |
+ "hidden": true |
+ }, |
+ { |
+ "id": "Usage", |
+ "type": "object", |
+ "description": "Usage information", |
+ "properties": [ |
+ { "name": "temporary", "type": "array", "items": { "$ref": "UsageItem" }, "description": "" }, |
+ { "name": "persistent", "type": "array", "items": { "$ref": "UsageItem" }, "description": "" }, |
+ { "name": "syncable", "type": "array", "items": { "$ref": "UsageItem" }, "description": "" } |
+ ], |
+ "hidden": true |
+ }, |
+ { |
+ "id": "UsageItem", |
+ "type": "object", |
+ "description": "Usage information for a client and storage type", |
+ "properties": [ |
+ { "name": "id", "type": "string", "enum": ["filesystem", "database", "appcache", "indexeddatabase"], "description": "" }, |
+ { "name": "value", "type": "number", "description": "" } |
+ ], |
+ "hidden": true |
} |
], |
"commands": [ |
@@ -487,6 +518,25 @@ |
{ "name": "force", "type": "boolean", "description": "Whether to force accelerated compositing or not." } |
], |
"hidden": true |
+ }, |
+ { |
+ "name": "queryUsageAndQuota", |
+ "description": ".", |
+ "parameters": [ |
+ { "name": "securityOrigin", "type": "string", "description": "Securicy origin quota and usage requested for" } |
+ ], |
+ "returns": [ |
+ { |
+ "name": "quota", |
+ "$ref": "Quota" |
+ }, |
+ { |
+ "name": "usage", |
+ "$ref": "Usage" |
+ } |
+ ], |
+ "description": "Queries more detailed quota nad usage data than Storage API provides.", |
+ "hidden": true |
} |
], |
"events": [ |