| OLD | NEW |
| 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": "webstore", | 7 "namespace": "webstore", |
| 8 "description": "Use the <code>chrome.webstore</code> API to initiate app and
extension installations \"inline\" from your site.", | 8 "description": "Use the <code>chrome.webstore</code> API to initiate app and
extension installations \"inline\" from your site.", |
| 9 "compiler_options": {"use_movable_types": true}, |
| 9 "types": [ | 10 "types": [ |
| 10 { | 11 { |
| 11 "id": "InstallStage", | 12 "id": "InstallStage", |
| 12 "type": "string", | 13 "type": "string", |
| 13 "enum": ["installing", "downloading"], | 14 "enum": ["installing", "downloading"], |
| 14 "description": "Enum used to indicate the stage of the installation proc
ess. 'downloading' indicates that the necessary files are being downloaded, and
'installing' indicates that the files are downloaded and are being actively inst
alled." | 15 "description": "Enum used to indicate the stage of the installation proc
ess. 'downloading' indicates that the necessary files are being downloaded, and
'installing' indicates that the files are downloaded and are being actively inst
alled." |
| 15 }, | 16 }, |
| 16 { | 17 { |
| 17 "id": "ErrorCode", | 18 "id": "ErrorCode", |
| 18 "type": "string", | 19 "type": "string", |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 "description": "The error code from the stable set of possible e
rrors." | 154 "description": "The error code from the stable set of possible e
rrors." |
| 154 } | 155 } |
| 155 ], | 156 ], |
| 156 "description": "This function is invoked when inline installation do
es not successfully complete. Possible reasons for this include the user canceli
ng the dialog, the linked item not being found in the store, or the install bein
g initiated from a non-verified site." | 157 "description": "This function is invoked when inline installation do
es not successfully complete. Possible reasons for this include the user canceli
ng the dialog, the linked item not being found in the store, or the install bein
g initiated from a non-verified site." |
| 157 } | 158 } |
| 158 ] | 159 ] |
| 159 } // install | 160 } // install |
| 160 ] // functions | 161 ] // functions |
| 161 } // webstore | 162 } // webstore |
| 162 ] | 163 ] |
| OLD | NEW |