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

Side by Side 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, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 { 188 {
189 "id": "NavigationEntry", 189 "id": "NavigationEntry",
190 "type": "object", 190 "type": "object",
191 "description": "Navigation history entry.", 191 "description": "Navigation history entry.",
192 "properties": [ 192 "properties": [
193 { "name": "id", "type": "integer", "description": "Unique id o f the navigation history entry." }, 193 { "name": "id", "type": "integer", "description": "Unique id o f the navigation history entry." },
194 { "name": "url", "type": "string", "description": "URL of the navigation history entry." }, 194 { "name": "url", "type": "string", "description": "URL of the navigation history entry." },
195 { "name": "title", "type": "string", "description": "Title of the navigation history entry." } 195 { "name": "title", "type": "string", "description": "Title of the navigation history entry." }
196 ], 196 ],
197 "hidden": true 197 "hidden": true
198 },
199 {
200 "id": "Quota",
pfeldman 2013/09/19 17:37:32 I'd rather have a structure: Quota: { tempora
SeRya 2013/09/27 13:31:01 Done.
201 "type": "object",
202 "description": "Quota information",
203 "properties": [
204 { "name": "availableSpace", "type": "number", "description": "Space available on the storage device" },
205 { "name": "temporaryGlobalQuota", "type": "number", "descrip tion": "Quota for temporary storage shared among all security origins" },
206 { "name": "persistentHostQuota", "type": "number", "descript ion": "Quota for persistent storage for the security origin." }
207 ],
208 "hidden": true
209 },
210 {
211 "id": "Usage",
212 "type": "object",
213 "description": "Usage information",
214 "properties": [
215 { "name": "temporaryFileSystemUsage", "type": "number", "des cription": "Data used in temporary file storage" },
216 { "name": "persistentFileSystemUsage", "type": "number", "de scription": "Data used in persistent file storage" },
217 { "name": "syncableFileSystemUsage", "type": "number", "desc ription": "Data used in syncable file storage" },
218 { "name": "databaseUsage", "type": "number", "description": "WebSQL usage (limited by temporary quota)" },
219 { "name": "appcacheUsage", "type": "number", "description": "AppCache usage (limited by temporary quota)" },
220 { "name": "indexedDatabaseUsage", "type": "number", "descrip tion": "IndexedDB usage (limited by temporary quota)" }
221 ],
222 "hidden": true
198 } 223 }
199 ], 224 ],
200 "commands": [ 225 "commands": [
201 { 226 {
202 "name": "enable", 227 "name": "enable",
203 "description": "Enables page domain notifications." 228 "description": "Enables page domain notifications."
204 }, 229 },
205 { 230 {
206 "name": "disable", 231 "name": "disable",
207 "description": "Disables page domain notifications." 232 "description": "Disables page domain notifications."
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 ], 519 ],
495 "hidden": true 520 "hidden": true
496 }, 521 },
497 { 522 {
498 "name": "setForceCompositingMode", 523 "name": "setForceCompositingMode",
499 "description": "Force accelerated compositing mode for inspected page.", 524 "description": "Force accelerated compositing mode for inspected page.",
500 "parameters": [ 525 "parameters": [
501 { "name": "force", "type": "boolean", "description": "Whethe r to force accelerated compositing or not." } 526 { "name": "force", "type": "boolean", "description": "Whethe r to force accelerated compositing or not." }
502 ], 527 ],
503 "hidden": true 528 "hidden": true
529 },
530 {
531 "name": "queryUsageAndQuota",
532 "description": ".",
533 "parameters": [
534 { "name": "securityOrigin", "type": "string", "description": "Securicy origin quota and usage requested for" }
535 ],
536 "returns": [
537 {
538 "name": "quota",
539 "$ref": "Quota"
540 },
541 {
542 "name": "usage",
543 "$ref": "Usage"
544 }
545 ],
546 "description": "Queries more detailed quota nad usage data than Storage API provides.",
547 "hidden": true
504 } 548 }
505 ], 549 ],
506 "events": [ 550 "events": [
507 { 551 {
508 "name": "domContentEventFired", 552 "name": "domContentEventFired",
509 "parameters": [ 553 "parameters": [
510 { "name": "timestamp", "type": "number" } 554 { "name": "timestamp", "type": "number" }
511 ] 555 ]
512 }, 556 },
513 { 557 {
(...skipping 3503 matching lines...) Expand 10 before | Expand all | Expand 10 after
4017 "parameters": [ 4061 "parameters": [
4018 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4062 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4019 ] 4063 ]
4020 }, 4064 },
4021 { 4065 {
4022 "name": "tracingComplete" 4066 "name": "tracingComplete"
4023 } 4067 }
4024 ] 4068 ]
4025 }] 4069 }]
4026 } 4070 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698