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 7e25c336370109731651fa5c72c712081faf4164..df1a44d72c832e20a93b2041819108af46a89a33 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -7904,7 +7904,7 @@ |
{ |
"name": "expected_id", |
"type": "string", |
- "description": "The id of the extension to be installled. This should match a previous call to beginInstallWithManifest3." |
+ "description": "The id of the extension to be installed. This should match a previous call to beginInstallWithManifest3." |
}, |
{ |
"name": "callback", |
@@ -7915,6 +7915,36 @@ |
] |
}, |
{ |
+ "name": "silentlyInstall", |
+ "description": "Silently installs the specified extension, which must already be whitelisted in Chrome.", |
+ "parameters": [ |
+ { |
+ "name": "details", |
+ "type": "object", |
+ "properties": { |
+ "id": { |
+ "type": "string", |
+ "description": "The id of the extension to be installled.", |
+ "minLength": 32, |
+ "maxLength": 32 |
+ }, |
+ "manifest": { |
+ "type": "string", |
+ "description": "A string with the contents of the extension's manifest.json file. During the install process, the browser will check that the downloaded extension's manifest matches what was passed in here.", |
+ "minLength": 1 |
+ } |
+ } |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when the extension installation has completed. chrome.extension.lastError may be set if the extension install failed.", |
+ "optional": "true", |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "getBrowserLogin", |
"description": "Returns the logged-in sync user login if there is one, or the empty string otherwise.", |
"parameters": [ |