diff options
author | avi <avi@chromium.org> | 2015-12-22 14:49:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-22 22:50:51 +0000 |
commit | c5960f3143870ec1fbb1dd7280238b324c49c694 (patch) | |
tree | 0f0acfc895b17661165ee5770c50ac006fdd33b4 /remoting/host/chromoting_messages.h | |
parent | 89572b9c9defce673e0ec094b14a0bc9bbe9b8db (diff) | |
download | chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.zip chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.gz chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.bz2 |
Switch to standard integer types in remoting/host/.
BUG=138542
TBR=wez@chromium.org
Review URL: https://codereview.chromium.org/1547473005
Cr-Commit-Position: refs/heads/master@{#366676}
Diffstat (limited to 'remoting/host/chromoting_messages.h')
-rw-r--r-- | remoting/host/chromoting_messages.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h index 793156b..9e6ae32 100644 --- a/remoting/host/chromoting_messages.h +++ b/remoting/host/chromoting_messages.h @@ -5,6 +5,8 @@ #ifndef REMOTING_HOST_CHROMOTING_MESSAGES_H_ #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ +#include <stdint.h> + #include "ipc/ipc_platform_file.h" #include "net/base/ip_endpoint.h" #include "remoting/host/chromoting_param_traits.h" @@ -86,9 +88,9 @@ IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution, IPC_STRUCT_BEGIN(SerializedTransportRoute) IPC_STRUCT_MEMBER(int, type) IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address) - IPC_STRUCT_MEMBER(uint16, remote_port) + IPC_STRUCT_MEMBER(uint16_t, remote_port) IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address) - IPC_STRUCT_MEMBER(uint16, local_port) + IPC_STRUCT_MEMBER(uint16_t, local_port) IPC_STRUCT_END() // Hosts status notifications (see HostStatusObserver interface) sent by @@ -138,7 +140,7 @@ IPC_MESSAGE_CONTROL0(ChromotingDesktopDaemonMsg_InjectSas) IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer, int /* id */, IPC::PlatformFileForTransit /* handle */, - uint32 /* size */) + uint32_t /* size */) // Request the network process to stop using a shared buffer. IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer, @@ -159,10 +161,10 @@ IPC_STRUCT_BEGIN(SerializedDesktopFrame) IPC_STRUCT_MEMBER(webrtc::DesktopSize, dimensions) // Time spent in capture. Unit is in milliseconds. - IPC_STRUCT_MEMBER(int64, capture_time_ms) + IPC_STRUCT_MEMBER(int64_t, capture_time_ms) // Latest event timestamp supplied by the client for performance tracking. - IPC_STRUCT_MEMBER(int64, latest_event_timestamp) + IPC_STRUCT_MEMBER(int64_t, latest_event_timestamp) // DPI for this frame. IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) |