Index: chrome/common/extensions/api/management.json |
diff --git a/chrome/common/extensions/api/management.json b/chrome/common/extensions/api/management.json |
index 59414028ad84eb23bdafa3cb78757cd38d5230de..42976387c939b4d0c86f8fb02e77b5e588736982 100644 |
--- a/chrome/common/extensions/api/management.json |
+++ b/chrome/common/extensions/api/management.json |
@@ -181,6 +181,23 @@ |
] |
}, |
{ |
+ "name": "getSelf", |
+ "description": "Returns information about the calling extension, app, or theme. Note: This function can be used without requesting the 'management' permission in the manifest.", |
+ "parameters": [ |
+ { |
+ "type": "function", |
+ "name": "callback", |
+ "optional": true, |
+ "parameters": [ |
+ { |
+ "name": "result", |
+ "$ref": "ExtensionInfo" |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
"name": "getPermissionWarningsById", |
"description": "Returns a list of <a href='permission_warnings'>permission warnings</a> for the given extension id.", |
"parameters": [ |