Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/protocol.json |
| diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json |
| index 923af3665ad6073cd13ff20625c85c06acfc4ab6..c753d29b060baa58e5d04ce58db54d6841c3c303 100644 |
| --- a/third_party/WebKit/Source/devtools/protocol.json |
| +++ b/third_party/WebKit/Source/devtools/protocol.json |
| @@ -5122,5 +5122,38 @@ |
| "hidden": true |
| } |
| ] |
| + }, |
| + { |
| + "domain": "Storage", |
| + "hidden": true, |
| + "types": [ |
| + { |
| + "id": "StorageType", |
| + "type": "string", |
| + "enum": [ "appcache", |
| + "cookies", |
| + "file_systems", |
| + "indexeddb", |
| + "local_storage", |
| + "shader_cache", |
| + "websql", |
| + "webrtc_indetity", |
| + "service_workers", |
| + "cache_storage", |
| + "all" ], |
| + "description": "Enum of possible storage types." |
| + } |
| + ], |
| + "commands": [ |
| + { |
| + "name": "clearDataForOrigin", |
| + "parameters": [ |
| + { "name": "storageTypes", "type": "string", "description": "Comma separated origin names." }, |
|
caseq
2016/05/05 23:23:42
Ah, so we've got an enum, but pass it as string?!
pfeldman
2016/05/06 07:24:37
We don't generate them and it is hard for us to pa
|
| + { "name": "origin", "type": "string", "description": "Security origin." } |
| + ], |
| + "description": "Clears storage for origin.", |
| + "handlers": ["browser"] |
| + } |
| + ] |
| }] |
| } |