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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 4837003: Merge 65722 - Split the private webstore install API into two parts.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 4101 matching lines...) Expand 10 before | Expand all | Expand 10 after
4112 }, 4112 },
4113 { 4113 {
4114 "name": "callback", 4114 "name": "callback",
4115 "type": "function", 4115 "type": "function",
4116 "optional": "true", 4116 "optional": "true",
4117 "parameters": [] 4117 "parameters": []
4118 } 4118 }
4119 ] 4119 ]
4120 }, 4120 },
4121 { 4121 {
4122 "name": "beginInstall",
4123 "description": "Initiates the install process for the given extension id ",
4124 "parameters": [
4125 {
4126 "name": "expected_id",
4127 "type": "string",
4128 "description": "The id of the extension to be installled. Must be ca lled during a user gesture."
4129 },
4130 {
4131 "name": "callback",
4132 "type": "function",
4133 "optional": "true",
4134 "parameters": []
4135 }
4136 ]
4137 },
4138 {
4139 "name": "completeInstall",
4140 "description": "",
4141 "parameters": [
4142 {
4143 "name": "expected_id",
4144 "type": "string",
4145 "description": "The id of the extension to be installled. This shoul d match a previous call to beginInstall."
4146 },
4147 {
4148 "name": "callback",
4149 "type": "function",
4150 "optional": "true",
4151 "parameters": []
4152 }
4153 ]
4154 },
4155 {
4122 "name": "getBrowserLogin", 4156 "name": "getBrowserLogin",
4123 "description": "Returns the logged-in sync user login if there is one, o r the empty string otherwise.", 4157 "description": "Returns the logged-in sync user login if there is one, o r the empty string otherwise.",
4124 "parameters": [ 4158 "parameters": [
4125 { 4159 {
4126 "name": "callback", 4160 "name": "callback",
4127 "type": "function", 4161 "type": "function",
4128 "optional": "false", 4162 "optional": "false",
4129 "parameters": [ 4163 "parameters": [
4130 { 4164 {
4131 "name": "info", 4165 "name": "info",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
4183 "token": { "type": "string", "optional": true } 4217 "token": { "type": "string", "optional": true }
4184 } 4218 }
4185 } 4219 }
4186 ] 4220 ]
4187 } 4221 }
4188 ] 4222 ]
4189 } 4223 }
4190 ] 4224 ]
4191 } 4225 }
4192 ] 4226 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698