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

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

Issue 23332012: Add a private API method to install a webstore app from Files.app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace":"fileBrowserPrivate", 7 "namespace":"fileBrowserPrivate",
8 "description": "none", 8 "description": "none",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 "type": "function", 1166 "type": "function",
1167 "parameters": [ 1167 "parameters": [
1168 { 1168 {
1169 "name": "shareUrl", 1169 "name": "shareUrl",
1170 "type": "string", 1170 "type": "string",
1171 "description": "Share Url for the sharing dialog." 1171 "description": "Share Url for the sharing dialog."
1172 } 1172 }
1173 ] 1173 ]
1174 } 1174 }
1175 ] 1175 ]
1176 },
1177 {
1178 "name": "installWebstoreApp",
asargent_no_longer_on_chrome 2013/08/27 18:22:33 Will this only be allowed to install apps, or will
yoshiki 2013/08/28 13:19:04 Thanks for suggestion. Done.
1179 "type": "function",
1180 "description": "Requests to install webstore app/extension.",
1181 "parameters": [
1182 {
1183 "name": "item_id",
1184 "type": "string",
1185 "description": "The id of the app/extension to install."
1186 },
1187 {
1188 "name": "callback",
1189 "type": "function",
1190 "parameters": [
1191 {
1192 "type": "object",
1193 "properties": {
1194 "result": {
1195 "type": "boolean",
1196 "description": "True if the app is installed. False if faile d or aborted."
1197 },
1198 "error": {
1199 "type": "string",
1200 "optional": true,
1201 "description": "Reason of failure."
1202 }
1203 }
1204 }
1205 ]
1206 }
1207 ]
1176 } 1208 }
1177 ], 1209 ],
1178 "events": [ 1210 "events": [
1179 { 1211 {
1180 "name": "onMountCompleted", 1212 "name": "onMountCompleted",
1181 "type": "function", 1213 "type": "function",
1182 "description": "Fired when mount event is detected.", 1214 "description": "Fired when mount event is detected.",
1183 "parameters": [ 1215 "parameters": [
1184 { 1216 {
1185 "$ref": "MountCompletedEvent", 1217 "$ref": "MountCompletedEvent",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 }, 1253 },
1222 { 1254 {
1223 "name": "onDriveConnectionStatusChanged", 1255 "name": "onDriveConnectionStatusChanged",
1224 "type": "function", 1256 "type": "function",
1225 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", 1257 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.",
1226 "parameters": [] 1258 "parameters": []
1227 } 1259 }
1228 ] 1260 ]
1229 } 1261 }
1230 ] 1262 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698