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

Unified Diff: chrome/common/extensions/mojom/inline_install.mojom

Issue 2791533002: Convert Web Store Inline Install IPCs to mojo (Closed)
Patch Set: Addressed Devlin's comments Created 3 years, 7 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
« no previous file with comments | « chrome/common/extensions/mojom/OWNERS ('k') | chrome/common/extensions/mojom/inline_install.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/mojom/inline_install.mojom
diff --git a/chrome/common/extensions/mojom/inline_install.mojom b/chrome/common/extensions/mojom/inline_install.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e29842403f035365e434e179c5d55c01fd680111
--- /dev/null
+++ b/chrome/common/extensions/mojom/inline_install.mojom
@@ -0,0 +1,31 @@
+// 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 WebstoreInstallResult;
+
+[Native]
+enum WebstoreInstallStage;
+
+interface InlineInstallProgressListener {
+ // 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);
+};
+
+interface InlineInstaller {
+ // Sent by the renderer to implement chrome.webstore.install() and notifies
+ // the renderer once the installation is complete.
+ DoInlineInstall(string webstore_item_id, int32 listeners_mask,
+ InlineInstallProgressListener install_progress_listener) =>
+ (bool success, string error, WebstoreInstallResult result);
+};
+
+
« no previous file with comments | « chrome/common/extensions/mojom/OWNERS ('k') | chrome/common/extensions/mojom/inline_install.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698