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

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: comments addressed 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
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bf61203906fd33c4bb832420da3801e49de59f85 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -5122,5 +5122,40 @@
"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": "origin", "type": "string", "description": "Security origin." },
+ { "name": "storageTypes", "type": "string", "description": "Comma separated origin names." }
+ ],
+ "description": "Clears storage for origin.",
+ "handlers": ["browser"]
+ }
+ ]
}]
}
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698