"type": "boolean",
"optional": true,
"description": "A flag to cause the app launcher to be installed before installing the extension, if it isn't installed already."
+ },
+ "authuser": {
+ "type": "string",
+ "optional": true,
+ "description": "The authuser index to be included with CRX download requests in multi-login sessions."
}
},
"additionalProperties": { "type": "any" }
{
"name": "result",
"type": "string",
- "description": "A string result code, which will be empty upon success. 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'."
+ "description": "A string result code, which will be empty upon success. 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'."
}
]
}
]
}
]
+ },
+ {
+ "name": "getEphemeralAppsEnabled",
+ "description": "Returns whether the ephemeral apps feature is enabled.",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": false,
+ "parameters": [
+ { "name": "is_enabled", "type": "boolean" }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "launchEphemeralApp",
+ "description": "Installs an app ephemerally in Chrome (if not already fully installed) and launches the app. A user gesture is required.",
+ "parameters": [
+ {
+ "name": "id",
+ "type": "string",
+ "description": "The extension id of the app to launch."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [
+ {
+ "name": "result",
+ "type": "string",
+ "enum": ["success", "user_gesture_required", "unknown_error", "feature_disabled", "unsupported_extension_type", "missing_dependencies", "install_error", "user_cancelled", "invalid_id", "blacklisted", "blocked_by_policy", "install_in_progress", "launch_in_progress"],
+ "description": "Whether an attempt to launch an app succeeded, or the reason for failure."
+ }
+ ]
+ }
+ ]
}
]
}