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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 175263003: Add chrome.webstore API methods to allow sites to see progress of installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Julien's Created 6 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/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index e43b3c8d24d41b5ee3ad75ff732d0e6757f7ed1d..98093a8207dccdeead91faad2dffbc33ec67d949 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -604,11 +604,22 @@ IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo,
WebApplicationInfo)
// Sent by the renderer to implement chrome.webstore.install().
-IPC_MESSAGE_ROUTED4(ExtensionHostMsg_InlineWebstoreInstall,
+IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall,
int32 /* install id */,
int32 /* return route id */,
std::string /* Web Store item ID */,
- GURL /* requestor URL */)
+ GURL /* requestor URL */,
+ int /* listeners_mask */)
+
+// Sent to the renderer if install stage updates were requested for an inline
+// install.
+IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallStageChanged,
+ int /* stage, from api::webstore::InstallStage */)
+
+// Sent to the renderer if download progress updates were requested for an
+// inline install.
+IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallDownloadProgress,
+ int /* percent_downloaded */)
// Sent by the renderer when a web page is checking if its app is installed.
IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState,

Powered by Google App Engine
This is Rietveld 408576698