| 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 b5f19e0b6c1744db3fe6781e257033d75de9997f..a8ef0e1d0c629f2ba49fe7aca2ccad457da97792 100644
|
| --- a/chrome/common/extensions/api/extension_api.json
|
| +++ b/chrome/common/extensions/api/extension_api.json
|
| @@ -3186,6 +3186,16 @@
|
| "expirationDate": {"type": "number", "optional": true, "description": "The expiration date of the cookie as the number of seconds since the UNIX epoch. If omitted, the cookie becomes a session cookie."},
|
| "storeId": {"type": "string", "optional": true, "description": "The ID of the cookie store in which to set the cookie. By default, the cookie is set in the current execution context's cookie store."}
|
| }
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "parameters": [
|
| + {
|
| + "name": "cookie", "$ref": "Cookie", "optional": true, "description": "Contains details about the cookie that's been set. If setting failed for any reason, this will be \"null\", and \"chrome.extension.lastError\" will be set."
|
| + }
|
| + ]
|
| }
|
| ]
|
| },
|
| @@ -3203,6 +3213,24 @@
|
| "name": {"type": "string", "description": "The name of the cookie to remove."},
|
| "storeId": {"type": "string", "optional": true, "description": "The ID of the cookie store to look in for the cookie. If unspecified, the cookie is looked for by default in the current execution context's cookie store."}
|
| }
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "description": "Contains details about the cookie that's been removed. If removal failed for any reason, this will be \"null\", and \"chrome.extension.lastError\" will be set.",
|
| + "optional": true,
|
| + "properties": {
|
| + "url": {"type": "string", "description": "The URL associated with the cookie that's been removed."},
|
| + "name": {"type": "string", "description": "The name of the cookie that's been removed."},
|
| + "storeId": {"type": "string", "description": "The ID of the cookie store from which the cookie was removed."}
|
| + }
|
| + }
|
| + ]
|
| }
|
| ]
|
| },
|
|
|