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

Unified Diff: chrome/common/extensions/api/chrome_web_view_internal.json

Issue 567643002: Moving cleardata extension function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chrome/common/extensions/api/chrome_web_view_internal.json
diff --git a/chrome/common/extensions/api/chrome_web_view_internal.json b/chrome/common/extensions/api/chrome_web_view_internal.json
index d68de19edee936ce8da8c1a3dff0ed03003999a5..69729c5d6a094c9c7f1ce0e3bbb5cd0abe25f111 100644
--- a/chrome/common/extensions/api/chrome_web_view_internal.json
+++ b/chrome/common/extensions/api/chrome_web_view_internal.json
@@ -12,43 +12,6 @@
"dependencies": ["contextMenusInternal"],
"types": [
{
- "id": "DataTypeSet",
- "type": "object",
- "description": "A set of data types. Missing data types are interpreted as <code>false</code>.",
- "properties": {
- "appcache": {
- "type": "boolean",
- "optional": true,
- "description": "Websites' appcaches."
- },
- "cookies": {
- "type": "boolean",
- "optional": true,
- "description": "The browser's cookies."
- },
- "fileSystems": {
- "type": "boolean",
- "optional": true,
- "description": "Websites' file systems."
- },
- "indexedDB": {
- "type": "boolean",
- "optional": true,
- "description": "Websites' IndexedDB data."
- },
- "localStorage": {
- "type": "boolean",
- "optional": true,
- "description": "Websites' local storage data."
- },
- "webSQL": {
- "type": "boolean",
- "optional": true,
- "description": "Websites' WebSQL data."
- }
- }
- },
- {
"id": "ContextMenuItem",
"type": "object",
"description": "An item in the context menu.",
@@ -63,18 +26,6 @@
"description": "id of the input item"
}
}
- },
- {
- "id": "RemovalOptions",
- "type": "object",
- "description": "Options that determine exactly what data will be removed.",
- "properties": {
- "since": {
- "type": "number",
- "optional": true,
- "description": "Remove data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the <code>getTime</code> method of the JavaScript <code>Date</code> object). If absent, defaults to 0 (which would remove all browsing data)."
- }
- }
}
],
"functions": [
@@ -308,34 +259,6 @@
]
},
{
- "name": "clearData",
- "type": "function",
- "description": "Clears various types of browsing data stored in a storage partition of a <webview>.",
- "parameters": [
- {
- "type": "integer",
- "name": "instanceId",
- "description": "The instance ID of the guest <webview> process."
- },
- {
- "$ref": "RemovalOptions",
- "name": "options"
- },
- {
- "name": "dataToRemove",
- "$ref": "DataTypeSet",
- "description": "The set of data types to remove."
- },
- {
- "name": "callback",
- "type": "function",
- "description": "Called when deletion has completed.",
- "optional": true,
- "parameters": []
- }
- ]
- },
- {
"name": "showContextMenu",
"type": "function",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698