diff options
author | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 04:36:30 +0000 |
---|---|---|
committer | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 04:36:30 +0000 |
commit | c80fe5faf691860c344bcc98aa784a6eeefae08d (patch) | |
tree | e8cab8e0ccf96d953c05ef4b44f0cd172ddf8f0c /extensions | |
parent | 5ad5f93029e1767bb46ed6b8310b608cd7b7460a (diff) | |
download | chromium_src-c80fe5faf691860c344bcc98aa784a6eeefae08d.zip chromium_src-c80fe5faf691860c344bcc98aa784a6eeefae08d.tar.gz chromium_src-c80fe5faf691860c344bcc98aa784a6eeefae08d.tar.bz2 |
Add chrome.webstore API methods to allow sites to see progress of installation
Add two chrome.webstore API methods for progress updates:
chrome.webstore.setInstallStageListener(function(string stage))
- stage is either "downloading" or "installing"
chrome.webstore.setDownloadProgressListener(function(int percent_downloaded))
Update InstallObserver to have methods for install stages.
Make WebstoreInstaller provide more frequent download updates (current consumers
like WebstoreResult imply this was intended from the start).
BUG=308634
Review URL: https://codereview.chromium.org/175263003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/common/extension_messages.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h index b7ce195..aa69efa 100644 --- a/extensions/common/extension_messages.h +++ b/extensions/common/extension_messages.h @@ -407,13 +407,6 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_Suspend, IPC_MESSAGE_CONTROL1(ExtensionMsg_CancelSuspend, std::string /* extension_id */) -// Send to renderer once the installation mentioned on -// ExtensionHostMsg_InlineWebstoreInstall is complete. -IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, - int32 /* install id */, - bool /* whether the install was successful */, - std::string /* error */) - // Response to the renderer for ExtensionHostMsg_GetAppInstallState. IPC_MESSAGE_ROUTED2(ExtensionMsg_GetAppInstallStateResponse, std::string /* state */, @@ -573,13 +566,6 @@ IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting, int32 /* page_id of the _topmost_ frame */, GURL /* url of the _topmost_ frame */) -// Sent by the renderer to implement chrome.webstore.install(). -IPC_MESSAGE_ROUTED4(ExtensionHostMsg_InlineWebstoreInstall, - int32 /* install id */, - int32 /* return route id */, - std::string /* Web Store item ID */, - GURL /* requestor URL */) - // Sent by the renderer when a web page is checking if its app is installed. IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState, GURL /* requestor_url */, |