Index: remoting/host/chromoting_messages.h |
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h |
index c9c5e189eb394f939362b159e63a547cdf163374..1d2a5740db4d769b44e02a3108eda63ec6090db6 100644 |
--- a/remoting/host/chromoting_messages.h |
+++ b/remoting/host/chromoting_messages.h |
@@ -87,13 +87,14 @@ IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution, |
// Serialized remoting::protocol::TransportRoute structure. |
IPC_STRUCT_BEGIN(SerializedTransportRoute) |
- IPC_STRUCT_MEMBER(int, type) |
- IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address) |
- IPC_STRUCT_MEMBER(uint16_t, remote_port) |
- IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address) |
- IPC_STRUCT_MEMBER(uint16_t, local_port) |
+ IPC_STRUCT_MEMBER(remoting::protocol::TransportRoute::RouteType, type) |
+ IPC_STRUCT_MEMBER(net::IPEndPoint, remote_address) |
+ IPC_STRUCT_MEMBER(net::IPEndPoint, local_address) |
IPC_STRUCT_END() |
+IPC_ENUM_TRAITS_MAX_VALUE(remoting::protocol::TransportRoute::RouteType, |
+ remoting::protocol::TransportRoute::ROUTE_TYPE_MAX) |
+ |
// Hosts status notifications (see HostStatusObserver interface) sent by |
// IpcHostEventLogger. |
IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_AccessDenied, |
@@ -268,4 +269,4 @@ IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails, |
// The array of bytes representing a security key response from the remote |
// client. This message is sent over the per-client IPC channel. |
IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, |
- std::string /* response bytes */) |
+ std::string /* response bytes */) |