Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: remoting/host/chromoting_messages.h

Issue 1853643007: Migrate remoting to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments wez Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/chromoting_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */)
« no previous file with comments | « no previous file | remoting/host/chromoting_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698