Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7297)

Unified Diff: chrome/common/extensions/mojo/inline_install_status.mojom

Issue 2791533002: Convert Web Store Inline Install IPCs to mojo (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+};
+

Powered by Google App Engine
This is Rietveld 408576698