Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4921)

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 3353015: Implement gallery install API (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: erik comments Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0ca4808cf4e77bfb87682859eb371a4b70883e0a..2267e1c5bcc248d9b575ec55dd1635ae9eb23968 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -4005,29 +4005,6 @@
]
},
{
- "name": "install",
- "description": "(FOR INTERNAL USE ONLY)",
- "nodoc": true,
- "parameters": [
- {
- "name": "expected_id",
- "type": "string",
- "description": "The id we expect the crx at |url| to have."
- },
- {
- "name": "url",
- "type": "string",
- "description": "The url to fetch the crx from."
- },
- {
- "name": "callback",
- "type": "function",
- "optional": "true",
- "parameters": []
- }
- ]
- },
- {
"name": "uninstall",
"description": "Uninstall a currently installed app or extension.",
"parameters": [
@@ -4078,6 +4055,23 @@
"nodoc": "true",
"functions": [
{
+ "name": "install",
+ "description": "Installs the extension corresponding to the given id",
+ "parameters": [
+ {
+ "name": "expected_id",
+ "type": "string",
+ "description": "The id of the extension to install."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": "true",
+ "parameters": []
+ }
+ ]
+ },
+ {
"name": "getSyncLogin",
"description": "Returns the logged-in sync user login if there is one, or the empty string otherwise.",
"parameters": [
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698