diff options
author | avi <avi@chromium.org> | 2015-12-22 22:36:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-23 06:37:37 +0000 |
commit | 2d124c0ce773bd5dd334e2c6168cbb66a4b224d6 (patch) | |
tree | f677b902e1a77a269af4761c9a270f0ddabb6e5e /extensions/common/extension_messages.h | |
parent | bf2f7bc27f6baa44286fea07e39540c3ac8db77d (diff) | |
download | chromium_src-2d124c0ce773bd5dd334e2c6168cbb66a4b224d6.zip chromium_src-2d124c0ce773bd5dd334e2c6168cbb66a4b224d6.tar.gz chromium_src-2d124c0ce773bd5dd334e2c6168cbb66a4b224d6.tar.bz2 |
Switch to standard integer types in extensions/.
BUG=138542
TBR=benwells@chromium.org
Review URL: https://codereview.chromium.org/1543053002
Cr-Commit-Position: refs/heads/master@{#366716}
Diffstat (limited to 'extensions/common/extension_messages.h')
-rw-r--r-- | extensions/common/extension_messages.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h index 212cd7f..ce8f251 100644 --- a/extensions/common/extension_messages.h +++ b/extensions/common/extension_messages.h @@ -5,6 +5,8 @@ // IPC messages for extensions. // Multiply-included message file, hence no include guard. +#include <stdint.h> + #include <string> #include <vector> @@ -517,7 +519,7 @@ IPC_MESSAGE_CONTROL2(ExtensionMsg_WakeEventPageResponse, // sequence_id so that we can tell which message it is responding to. IPC_MESSAGE_CONTROL2(ExtensionMsg_ShouldSuspend, std::string /* extension_id */, - uint64 /* sequence_id */) + uint64_t /* sequence_id */) // If we complete a round of ShouldSuspend->ShouldSuspendAck messages without // the lazy background page becoming active again, we are ready to unload. This @@ -532,7 +534,7 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_CancelSuspend, // Response to the renderer for ExtensionHostMsg_GetAppInstallState. IPC_MESSAGE_ROUTED2(ExtensionMsg_GetAppInstallStateResponse, std::string /* state */, - int32 /* callback_id */) + int32_t /* callback_id */) // Dispatch the Port.onConnect event for message channels. IPC_MESSAGE_ROUTED5(ExtensionMsg_DispatchOnConnect, @@ -699,19 +701,19 @@ IPC_MESSAGE_ROUTED2(ExtensionHostMsg_ContentScriptsExecuting, IPC_MESSAGE_ROUTED3(ExtensionHostMsg_RequestScriptInjectionPermission, std::string /* extension id */, extensions::UserScript::InjectionType /* script type */, - int64 /* request id */) + int64_t /* request id */) // Sent from the browser to the renderer in reply to a // RequestScriptInjectionPermission message, granting permission for a script // script to run. IPC_MESSAGE_ROUTED1(ExtensionMsg_PermitScriptInjection, - int64 /* request id */) + int64_t /* request id */) // Sent by the renderer when a web page is checking if its app is installed. IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState, GURL /* requestor_url */, - int32 /* return_route_id */, - int32 /* callback_id */) + int32_t /* return_route_id */, + int32_t /* callback_id */) // Optional Ack message sent to the browser to notify that the response to a // function has been processed. @@ -721,7 +723,7 @@ IPC_MESSAGE_ROUTED1(ExtensionHostMsg_ResponseAck, // Response to ExtensionMsg_ShouldSuspend. IPC_MESSAGE_CONTROL2(ExtensionHostMsg_ShouldSuspendAck, std::string /* extension_id */, - uint64 /* sequence_id */) + uint64_t /* sequence_id */) // Response to ExtensionMsg_Suspend, after we dispatch the suspend event. IPC_MESSAGE_CONTROL1(ExtensionHostMsg_SuspendAck, @@ -791,7 +793,7 @@ IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, base::string16 /* message */, base::string16 /* source */, extensions::StackTrace /* stack trace */, - int32 /* severity level */) + int32_t /* severity level */) // Sent when a query selector request is made from the automation API. // acc_obj_id is the accessibility tree ID of the starting element. |