Chromium Code Reviews| Index: chrome/common/extensions/mojo/inline_install_status.mojom |
| diff --git a/chrome/common/extensions/mojo/inline_install_status.mojom b/chrome/common/extensions/mojo/inline_install_status.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f8828677ff65e85605824faa44a15d2f30c41f00 |
| --- /dev/null |
| +++ b/chrome/common/extensions/mojo/inline_install_status.mojom |
| @@ -0,0 +1,27 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module extensions.mojom; |
| + |
| +[Native] |
| +enum WebstoreInstallStage; |
| + |
| +[Native] |
| +enum WebstoreInstallResult; |
| + |
| +interface InlineInstallStatus { |
|
Devlin
2017/03/31 14:18:39
Any reason to not combine this with the other mojo
catmullings
2017/04/06 20:50:15
Done.
|
| + // Notifies the renderer once the installation mentioned on |
| + // InlineWebstoreInstall is complete. |
| + InlineWebstoreInstallResponse(int32 install_id, bool success, string error, |
|
Devlin
2017/03/31 14:18:39
One of the advantages of mojo is that it can provi
catmullings
2017/04/06 20:50:15
Done.
|
| + WebstoreInstallResult result); |
| + |
| + // Notifies the renderer when install stage updates were requested for an |
| + // inline install. |
| + InlineInstallStageChanged(WebstoreInstallStage stage); |
| + |
| + // Notifies the renderer when download progress updates were requested for an |
| + // inline install. |
| + InlineInstallDownloadProgress(int32 percent_downloaded); |
| +}; |
| + |