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

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1949373002: DevTools: introduce Storage.clearDataForOrigin protocol command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: 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"]
+ }
+ ]
}]
}
« content/browser/devtools/protocol/storage_handler.cc ('K') | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698