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 7f755fcae6a2665a1fedf3f6aa44c2546e0357f5..d6f0bffd06c13d4ebee54e6cde63d957475ac199 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -8344,6 +8344,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, |
@@ -8359,6 +8364,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, |
@@ -8369,10 +8379,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": { |
+ "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": { |
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Should websites' WebSQL data be cleared?" |
} |
} |
}, |
@@ -8386,6 +8416,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", |
@@ -8397,7 +8445,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": [] |
} |
@@ -8405,7 +8453,7 @@ |
}, |
{ |
"name": "cookies", |
- "description": "Clears the browser's cookies and site data.", |
+ "description": "Clears the browser's cookies.", |
"type": "function", |
"parameters": [ |
{ |
@@ -8415,7 +8463,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": [] |
} |
@@ -8440,6 +8488,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", |
@@ -8476,6 +8542,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", |
@@ -8492,6 +8612,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": [] |
+ } |
+ ] |
} |
] |
} |