#include "chrome/common/extensions/api/webstore/webstore_api_constants.h"
#include "chrome/common/web_application_info.h"
#include "ipc/ipc_message_macros.h"
#define IPC_MESSAGE_START ChromeExtensionMsgStart
IPC_ENUM_TRAITS_MAX_VALUE(extensions::api::webstore::InstallStage,
extensions::api::webstore::INSTALL_STAGE_INSTALLING)
IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo)
IPC_STRUCT_TRAITS_MEMBER(url)
IPC_STRUCT_TRAITS_MEMBER(width)
IPC_STRUCT_TRAITS_MEMBER(height)
IPC_STRUCT_TRAITS_MEMBER(data)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo)
IPC_STRUCT_TRAITS_MEMBER(title)
IPC_STRUCT_TRAITS_MEMBER(description)
IPC_STRUCT_TRAITS_MEMBER(app_url)
IPC_STRUCT_TRAITS_MEMBER(icons)
IPC_STRUCT_TRAITS_END()
IPC_MESSAGE_ROUTED1(ChromeExtensionMsg_GetApplicationInfo,
int32 )
IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall,
int32 ,
int32 ,
std::string ,
GURL ,
int )
IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallStageChanged,
extensions::api::webstore::InstallStage )
IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallDownloadProgress,
int )
IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse,
int32 ,
bool ,
std::string )
IPC_MESSAGE_ROUTED2(ChromeExtensionHostMsg_DidGetApplicationInfo,
int32 ,
WebApplicationInfo)