Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index 30d2d0c81de47fd8c5c5917ef4232fa099086bff..ba0b6a54570335387512beaee5c2c8ff61e9b3e0 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -8693,6 +8693,11 @@ |
"type": "object", |
"description": "An object whose properties specify which browsing data types ought to be cleared. You may set as many or as few as you like in a single call, each is optional (defaulting to <code>false</code>).", |
"properties": { |
+ "appcache": { |
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should websites' appcaches be cleared?" |
+ }, |
"cache": { |
"type": "boolean", |
"optional": true, |
@@ -8708,6 +8713,11 @@ |
"optional": true, |
"description": "Should the browser's download list be cleared?" |
}, |
+ "fileSystems": { |
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should websites' file systems be cleared?" |
+ }, |
"formData": { |
"type": "boolean", |
"optional": true, |
@@ -8718,10 +8728,30 @@ |
"optional": true, |
"description": "Should the browser's history be cleared?" |
}, |
+ "indexedDB": { |
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should websites' IndexedDB data be cleared?" |
+ }, |
+ "localStorage": { |
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should websites' local storage data be cleared?" |
+ }, |
+ "lsoData": { |
jochen (gone - plz use gerrit)
2011/12/13 13:26:18
lsoData sounds strange, what about localSharedObje
Mike West
2011/12/13 15:28:47
pluginData makes sense, and better matches what we
|
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should plugins' Local Shared Object data be cleared?" |
+ }, |
"passwords": { |
"type": "boolean", |
"optional": true, |
"description": "Should the stored passwords be cleared?" |
+ }, |
+ "webSQL": { |
jochen (gone - plz use gerrit)
2011/12/13 13:26:18
I think the official name is web databases?
Mike West
2011/12/13 15:28:47
The official name, unfortunately, seems to be "Web
jochen (gone - plz use gerrit)
2011/12/14 19:30:58
In Chrome, we call it Web Databases (e.g. http://c
|
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should websites' WebSQL data be cleared?" |
} |
} |
}, |
@@ -8735,6 +8765,24 @@ |
] |
}, |
{ |
+ "name": "appcache", |
+ "description": "Clears websites' appcache data.", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "$ref": "TimePeriod", |
+ "name": "period" |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when websites' appcache data has been cleared.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "cache", |
"description": "Clears the browser's cache.", |
"type": "function", |
@@ -8746,7 +8794,7 @@ |
{ |
"name": "callback", |
"type": "function", |
- "description": "Called when the browser's cache has cleared.", |
+ "description": "Called when the browser's cache has been cleared.", |
"optional": true, |
"parameters": [] |
} |
@@ -8754,7 +8802,7 @@ |
}, |
{ |
"name": "cookies", |
- "description": "Clears the browser's cookies and site data.", |
+ "description": "Clears the browser's cookies.", |
"type": "function", |
"parameters": [ |
{ |
@@ -8764,7 +8812,7 @@ |
{ |
"name": "callback", |
"type": "function", |
- "description": "Called when the browser's cookies and site data have been cleared.", |
+ "description": "Called when the browser's cookies have been cleared.", |
"optional": true, |
"parameters": [] |
} |
@@ -8789,6 +8837,24 @@ |
] |
}, |
{ |
+ "name": "fileSystems", |
+ "description": "Clears websites' file system data.", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "$ref": "TimePeriod", |
+ "name": "period" |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when websites' file systems have been cleared.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "formData", |
"description": "Clears the browser's stored form data (autofill).", |
"type": "function", |
@@ -8825,6 +8891,60 @@ |
] |
}, |
{ |
+ "name": "indexedDB", |
+ "description": "Clears websites' IndexedDB data.", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "$ref": "TimePeriod", |
+ "name": "period" |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when websites' IndexedDB data has been cleared.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "localStorage", |
+ "description": "Clears websites' local storage data.", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "$ref": "TimePeriod", |
+ "name": "period" |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when websites' local storage has been cleared.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "lsoData", |
+ "description": "Clears plugins' Local Storage Object data.", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "$ref": "TimePeriod", |
+ "name": "period" |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when plugins' Local Storage Data has been cleared.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "passwords", |
"description": "Clears the browser's stored passwords.", |
"type": "function", |
@@ -8841,6 +8961,24 @@ |
"parameters": [] |
} |
] |
+ }, |
+ { |
+ "name": "webSQL", |
+ "description": "Clears websites' WebSQL data.", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "$ref": "TimePeriod", |
+ "name": "period" |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when websites' WebSQL databases have been cleared.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
} |
] |
}, |