1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Private API to initiate inline install flow of other apps.
6 namespace inlineInstallPrivate
{
8 // This returns a developer-readable error message in error and
9 // a string error code in errorCode (see $ref:webstore.ErrorCode)
10 callback ResultCallback
= void (DOMString error
,
14 // This can currently only be used to install apps, but not extensions.
15 static
void install
(DOMString
id,
16 optional ResultCallback
callback);