| 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":"webstorePrivate", | 7 "namespace":"webstorePrivate", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "functions": [ | 9 "functions": [ |
| 10 { | 10 { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 }, | 122 }, |
| 123 { | 123 { |
| 124 "name": "callback", | 124 "name": "callback", |
| 125 "type": "function", | 125 "type": "function", |
| 126 "description": "Called when the user has either accepted/rejected th
e dialog, or some error occurred (such as invalid manifest or icon image data)."
, | 126 "description": "Called when the user has either accepted/rejected th
e dialog, or some error occurred (such as invalid manifest or icon image data)."
, |
| 127 "optional": true, | 127 "optional": true, |
| 128 "parameters": [ | 128 "parameters": [ |
| 129 { | 129 { |
| 130 "name": "result", | 130 "name": "result", |
| 131 "type": "string", | 131 "type": "string", |
| 132 "description": "A string result code, which will be empty upon s
uccess. The possible values in the case of errors include 'unknown_error', 'user
_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied',
'invalid_icon_url', 'signin_failed', and 'already_installed'." | 132 "description": "A string result code, which will be empty upon s
uccess. The possible values in the case of errors include 'unknown_error', 'user
_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied',
'invalid_icon_url' and 'already_installed'." |
| 133 } | 133 } |
| 134 ] | 134 ] |
| 135 } | 135 } |
| 136 ] | 136 ] |
| 137 | 137 |
| 138 }, | 138 }, |
| 139 { | 139 { |
| 140 "name": "completeInstall", | 140 "name": "completeInstall", |
| 141 "description": "", | 141 "description": "", |
| 142 "parameters": [ | 142 "parameters": [ |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 "name": "callback", | 252 "name": "callback", |
| 253 "type": "function", | 253 "type": "function", |
| 254 "optional": false, | 254 "optional": false, |
| 255 "parameters": [ | 255 "parameters": [ |
| 256 { "name": "is_incognito", "type": "boolean" } | 256 { "name": "is_incognito", "type": "boolean" } |
| 257 ] | 257 ] |
| 258 } | 258 } |
| 259 ] | 259 ] |
| 260 }, | 260 }, |
| 261 { | 261 { |
| 262 "name": "signIn", | |
| 263 "description": "Signs the user into Chrome.", | |
| 264 "parameters": [ | |
| 265 { | |
| 266 "name": "continue_url", | |
| 267 "type": "string", | |
| 268 "description": "The continue URL to navigate to once sign-in complet
es." | |
| 269 }, | |
| 270 { | |
| 271 "name": "callback", | |
| 272 "type": "function", | |
| 273 "description": "Called if the user is already signed in or if the si
gn-in method was invoked incorrectly (e.g. with an invalid continue URL), sign-i
n is unavailable (e.g. in Incognito), or the API was not called in response to a
user gesture. Upon such a failure, chrome.runtime.lastError will be set to 'inv
alid_continue_url', 'signin_is_disallowed', 'signin_failed', 'merge_session_fail
ed', or 'user_gesture_required'.", | |
| 274 "optional": true, | |
| 275 "parameters": [] | |
| 276 } | |
| 277 ] | |
| 278 }, | |
| 279 { | |
| 280 "name": "getEphemeralAppsEnabled", | 262 "name": "getEphemeralAppsEnabled", |
| 281 "description": "Returns whether the ephemeral apps feature is enabled.", | 263 "description": "Returns whether the ephemeral apps feature is enabled.", |
| 282 "parameters": [ | 264 "parameters": [ |
| 283 { | 265 { |
| 284 "name": "callback", | 266 "name": "callback", |
| 285 "type": "function", | 267 "type": "function", |
| 286 "optional": false, | 268 "optional": false, |
| 287 "parameters": [ | 269 "parameters": [ |
| 288 { "name": "is_enabled", "type": "boolean" } | 270 { "name": "is_enabled", "type": "boolean" } |
| 289 ] | 271 ] |
| (...skipping 20 matching lines...) Expand all Loading... |
| 310 "enum": ["success", "user_gesture_required", "unknown_error", "f
eature_disabled", "unsupported_extension_type", "missing_dependencies", "install
_error", "user_cancelled", "invalid_id", "blacklisted", "blocked_by_policy", "in
stall_in_progress", "launch_in_progress"], | 292 "enum": ["success", "user_gesture_required", "unknown_error", "f
eature_disabled", "unsupported_extension_type", "missing_dependencies", "install
_error", "user_cancelled", "invalid_id", "blacklisted", "blocked_by_policy", "in
stall_in_progress", "launch_in_progress"], |
| 311 "description": "Whether an attempt to launch an app succeeded, o
r the reason for failure." | 293 "description": "Whether an attempt to launch an app succeeded, o
r the reason for failure." |
| 312 } | 294 } |
| 313 ] | 295 ] |
| 314 } | 296 } |
| 315 ] | 297 ] |
| 316 } | 298 } |
| 317 ] | 299 ] |
| 318 } | 300 } |
| 319 ] | 301 ] |
| OLD | NEW |