Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
|
Ken Rockot(use gerrit already)
2017/05/08 16:12:45
minor nit: Moving forward, we would prefer that if
catmullings
2017/05/08 20:41:35
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module extensions.mojom; | |
| 6 | |
| 7 [Native] | |
| 8 enum WebstoreInstallResult; | |
| 9 | |
| 10 [Native] | |
| 11 enum WebstoreInstallStage; | |
| 12 | |
| 13 interface InlineInstallProgressListener { | |
| 14 // Notifies the renderer once the installation mentioned on | |
| 15 // InlineWebstoreInstall is complete. | |
| 16 InlineInstallResponse(int32 install_id, bool success, string error, | |
|
Ken Rockot(use gerrit already)
2017/05/08 16:12:45
I may be overlooking something. At a glance it see
catmullings
2017/05/08 20:41:35
Yes, install_id is only used to link the response
| |
| 17 WebstoreInstallResult result); | |
| 18 | |
| 19 // Notifies the renderer when install stage updates were requested for an | |
| 20 // inline install. | |
| 21 InlineInstallStageChanged(WebstoreInstallStage stage); | |
| 22 | |
| 23 // Notifies the renderer when download progress updates were requested for an | |
| 24 // inline install. | |
| 25 InlineInstallDownloadProgress(int32 percent_downloaded); | |
| 26 }; | |
| 27 | |
| 28 interface InlineInstaller { | |
| 29 // Sent by the renderer to implement chrome.webstore.install(). | |
| 30 DoInlineInstall( | |
| 31 int32 install_id, string webstore_item_id, int32 listeners_mask, | |
| 32 InlineInstallProgressListener install_progress_listener); | |
| 33 }; | |
| 34 | |
| 35 | |
| OLD | NEW |