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

Side by Side Diff: chrome/common/extensions/mojo/inline_install.mojom

Issue 2791533002: Convert Web Store Inline Install IPCs to mojo (Closed)
Patch Set: Removed WebstoreBindingsHelper; Added bindings set to WebstoreBindings 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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.
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 when install stage updates were requested for an
15 // inline install.
16 InlineInstallStageChanged(WebstoreInstallStage stage);
17
18 // Notifies the renderer when download progress updates were requested for an
19 // inline install.
20 InlineInstallDownloadProgress(int32 percent_downloaded);
21 };
22
23 interface InlineInstall {
Devlin 2017/04/28 18:33:02 nit: maybe InlineInstaller? WDYT? (It seems weir
catmullings 2017/05/02 19:02:15 Done.
24 // Sent by the renderer to implement chrome.webstore.install() and notifies
25 // the renderer once the installation is complete.
26 DoInlineInstall(int32 install_id, string webstore_item_id,
Devlin 2017/04/28 18:33:02 nit: all parameters should have the same indentati
catmullings 2017/05/02 19:02:15 Done.
27 int32 listeners_mask,
28 InlineInstallProgressListener install_progress_listener) =>
29 (int32 install_id, bool success, string error,
30 WebstoreInstallResult result);
catmullings 2017/05/02 19:02:15 Documentation: We removed the callback response on
31 };
32
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698