Index: chrome/common/extensions/api/management.json |
diff --git a/chrome/common/extensions/api/management.json b/chrome/common/extensions/api/management.json |
index 8113906d7faf64789024c1ddedf270c0ddf49e8c..d523783a386b8491e42dc2b55d0bcfcf8d3d0262 100644 |
--- a/chrome/common/extensions/api/management.json |
+++ b/chrome/common/extensions/api/management.json |
@@ -253,6 +253,30 @@ |
] |
}, |
{ |
+ "name": "uninstallSelf", |
+ "description": "Uninstalls the calling extension. Note: This function can be used without requesting the 'management' permission in the manifest.", |
+ "parameters": [ |
+ { |
+ "type": "object", |
+ "name": "options", |
+ "optional": "true", |
+ "properties": { |
+ "showConfirmDialog": { |
+ "type": "boolean", |
+ "optional": true, |
+ "description": "Whether or not a confirm-uninstall dialog should prompt the user. Defaults to false." |
+ } |
+ } |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "optional": "true", |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "launchApp", |
"description": "Launches an application.", |
"parameters": [ |