Index: chrome/common/extensions/chrome_extension_messages.h |
diff --git a/chrome/common/extensions/chrome_extension_messages.h b/chrome/common/extensions/chrome_extension_messages.h |
index 8b2fb7ae12813a1a37601e25cb247db47ab23c18..f0a08b5c08e3a45b4c477ad7ccf1f215afef7179 100644 |
--- a/chrome/common/extensions/chrome_extension_messages.h |
+++ b/chrome/common/extensions/chrome_extension_messages.h |
@@ -9,6 +9,7 @@ |
// Multiply-included message file, hence no include guard. |
#include "chrome/common/extensions/api/webstore/webstore_api_constants.h" |
+#include "chrome/common/extensions/webstore_install_result.h" |
#include "chrome/common/web_application_info.h" |
#include "ipc/ipc_message_macros.h" |
@@ -16,6 +17,8 @@ |
IPC_ENUM_TRAITS_MAX_VALUE(extensions::api::webstore::InstallStage, |
extensions::api::webstore::INSTALL_STAGE_INSTALLING) |
+IPC_ENUM_TRAITS_MAX_VALUE(extensions::webstore_install::Result, |
+ extensions::webstore_install::RESULT_LAST) |
IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo) |
IPC_STRUCT_TRAITS_MEMBER(url) |
@@ -57,10 +60,11 @@ IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallDownloadProgress, |
// Send to renderer once the installation mentioned on |
// ExtensionHostMsg_InlineWebstoreInstall is complete. |
-IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, |
+IPC_MESSAGE_ROUTED4(ExtensionMsg_InlineWebstoreInstallResponse, |
int32 /* install id */, |
bool /* whether the install was successful */, |
- std::string /* error */) |
+ std::string /* error */, |
+ extensions::webstore_install::Result /* result */) |
// Messages sent from the renderer to the browser. |