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

Side by Side Diff: Source/devtools/protocol.json

Issue 1044203004: [Storage] Cache storage inspection on all the frames! (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests Created 5 years, 8 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
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 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 { "name": "databaseName", "type": "string", "description": " Database name." }, 1702 { "name": "databaseName", "type": "string", "description": " Database name." },
1703 { "name": "objectStoreName", "type": "string", "description" : "Object store name." } 1703 { "name": "objectStoreName", "type": "string", "description" : "Object store name." }
1704 ], 1704 ],
1705 "returns": [ 1705 "returns": [
1706 ], 1706 ],
1707 "description": "Clears all entries from an object store." 1707 "description": "Clears all entries from an object store."
1708 } 1708 }
1709 ] 1709 ]
1710 }, 1710 },
1711 { 1711 {
1712 "domain": "ServiceWorkerCache", 1712 "domain": "CacheStorage",
1713 "hidden": true, 1713 "hidden": true,
1714 "types": [ 1714 "types": [
1715 { 1715 {
1716 "id": "DataEntry", 1716 "id": "DataEntry",
1717 "type": "object", 1717 "type": "object",
1718 "description": "Data entry.", 1718 "description": "Data entry.",
1719 "properties": [ 1719 "properties": [
1720 { "name": "request", "type": "string", "description": "JSON- stringified request object." }, 1720 { "name": "request", "type": "string", "description": "JSON- stringified request object." },
1721 { "name": "response", "type": "string", "description": "JSON -stringified response object." } 1721 { "name": "response", "type": "string", "description": "JSON -stringified response object." }
1722 ] 1722 ]
1723 },
1724 {
1725 "id": "Cache",
1726 "type": "object",
1727 "description": "Cache identifier.",
1728 "properties": [
1729 { "name": "securityOrigin", "type": "string", "description": "Security origin of the cache." },
1730 { "name": "cacheName", "type": "string", "description": "The name of the cache." },
1731 { "name": "cacheId", "type": "string", "description": "An op aque unique id of the cache." }
pfeldman 2015/04/20 18:14:31 Move this above to make it the first field, introd
dmurph 2015/04/20 20:58:17 Done.
1732 ]
1723 } 1733 }
1724 ], 1734 ],
1725 "commands": [ 1735 "commands": [
1726 { 1736 {
1727 "name": "requestCacheNames", 1737 "name": "requestCacheNames",
1728 "async": true, 1738 "async": true,
1739 "parameters": [
1740 { "name": "securityOrigin", "type": "string", "description": "Security origin." }
1741 ],
1729 "returns": [ 1742 "returns": [
1730 { "name": "cacheNames", "type": "array", "items": { "type": "string" }, "description": "Cache names for origin." } 1743 { "name": "cacheIds", "type": "array", "items": { "$ref": "C ache" }, "description": "Cache ids for the security origin." }
pfeldman 2015/04/20 18:14:31 name: caches.
dmurph 2015/04/20 20:58:17 Done.
1731 ], 1744 ],
1732 "description": "Requests cache names." 1745 "description": "Requests cache names."
1733 }, 1746 },
1734 { 1747 {
1735 "name": "requestEntries", 1748 "name": "requestEntries",
1736 "async": true, 1749 "async": true,
1737 "parameters": [ 1750 "parameters": [
1738 { "name": "cacheName", "type": "string", "description": "Cac he name." }, 1751 { "name": "cacheId", "type": "string", "description": "ID of cache to get entries from." },
1739 { "name": "skipCount", "type": "integer", "description": "Nu mber of records to skip." }, 1752 { "name": "skipCount", "type": "integer", "description": "Nu mber of records to skip." },
1740 { "name": "pageSize", "type": "integer", "description": "Num ber of records to fetch." } 1753 { "name": "pageSize", "type": "integer", "description": "Num ber of records to fetch." }
1741 ], 1754 ],
1742 "returns": [ 1755 "returns": [
1743 { "name": "cacheDataEntries", "type": "array", "items": { "$ ref": "DataEntry" }, "description": "Array of object store data entries." }, 1756 { "name": "cacheDataEntries", "type": "array", "items": { "$ ref": "DataEntry" }, "description": "Array of object store data entries." },
1744 { "name": "hasMore", "type": "boolean", "description": "If t rue, there are more entries to fetch in the given range." } 1757 { "name": "hasMore", "type": "boolean", "description": "If t rue, there are more entries to fetch in the given range." }
1745 ], 1758 ],
1746 "description": "Requests data from cache." 1759 "description": "Requests data from cache."
1747 }, 1760 },
1748 { 1761 {
1749 "name": "deleteCache", 1762 "name": "deleteCache",
1750 "async": true, 1763 "async": true,
1751 "parameters": [ 1764 "parameters": [
1752 { "name": "cacheName", "type": "string", "description": "Cac he name." } 1765 { "name": "cacheId", "type": "string", "description": "Id of cache for deletion." }
1753 ], 1766 ],
1754 "description": "Deletes a cache." 1767 "description": "Deletes a cache."
1755 } 1768 }
1756 ] 1769 ]
1757 }, 1770 },
1758 { 1771 {
1759 "domain": "DOMStorage", 1772 "domain": "DOMStorage",
1760 "hidden": true, 1773 "hidden": true,
1761 "description": "Query and modify DOM storage.", 1774 "description": "Query and modify DOM storage.",
1762 "types": [ 1775 "types": [
(...skipping 3343 matching lines...) Expand 10 before | Expand all | Expand 10 after
5106 ], 5119 ],
5107 "returns": [ 5120 "returns": [
5108 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5121 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5109 ], 5122 ],
5110 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5123 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5111 "hidden": true 5124 "hidden": true
5112 } 5125 }
5113 ] 5126 ]
5114 }] 5127 }]
5115 } 5128 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698