Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1379)

Unified Diff: Source/devtools/protocol.json

Issue 23264011: Quota view in Resources pannel. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/resourcesPanel.css ('k') | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": [
« no previous file with comments | « Source/devtools/front_end/resourcesPanel.css ('k') | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698