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

Unified 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: Comments and fix 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 6411b0f5e4c3b371822df7c74d479a1b27ca0e9d..4430e8ad6fcfd902fb96ceaaa74f763019084bf8 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1686,7 +1686,7 @@
]
},
{
- "domain": "ServiceWorkerCache",
+ "domain": "CacheStorage",
"hidden": true,
"types": [
{
@@ -1697,14 +1697,26 @@
{ "name": "request", "type": "string", "description": "JSON-stringified request object." },
{ "name": "response", "type": "string", "description": "JSON-stringified response object." }
]
+ },
+ {
+ "id": "CacheId",
pfeldman 2015/04/17 07:57:36 Rename this to "Cache"
dmurph 2015/04/18 00:59:31 Done.
+ "type": "object",
pfeldman 2015/04/16 10:22:53 Identifiers must be opaque strings, you should do
dmurph 2015/04/18 00:59:31 Done.
+ "description": "Cache identifier.",
+ "properties": [
+ { "name": "securityOrigin", "type": "string", "description": "Security origin of the cache." },
pfeldman 2015/04/17 07:57:36 You already have an origin, cache name here. Add c
dmurph 2015/04/18 00:59:32 Cone.
+ { "name": "cacheName", "type": "string", "description": "The name of the cache." }
+ ]
}
],
"commands": [
{
"name": "requestCacheNames",
"async": true,
+ "parameters": [
+ { "name": "securityOrigin", "type": "string", "description": "Security origin." }
+ ],
"returns": [
- { "name": "cacheNames", "type": "array", "items": { "type": "string" }, "description": "Cache names for origin." }
+ { "name": "cacheIds", "type": "array", "items": { "$ref": "CacheId" }, "description": "Cache ids for the security origin." }
],
"description": "Requests cache names."
},
@@ -1712,7 +1724,7 @@
"name": "requestEntries",
"async": true,
"parameters": [
- { "name": "cacheName", "type": "string", "description": "Cache name." },
+ { "name": "cacheId", "$ref": "CacheId", "description": "Cache to get entries from." },
{ "name": "skipCount", "type": "integer", "description": "Number of records to skip." },
{ "name": "pageSize", "type": "integer", "description": "Number of records to fetch." }
],
@@ -1726,7 +1738,7 @@
"name": "deleteCache",
"async": true,
"parameters": [
- { "name": "cacheName", "type": "string", "description": "Cache name." }
+ { "name": "cacheId", "$ref": "CacheId", "description": "Id of cache for deletion." }
],
"description": "Deletes a cache."
}

Powered by Google App Engine
This is Rietveld 408576698