Chromium Code Reviews| Index: content/common/p2p_messages.h |
| diff --git a/content/common/p2p_messages.h b/content/common/p2p_messages.h |
| index cf6ddcaa95e813b03a6a1e3d727bfb00cb0a0067..7f2ec2ee6f7c54a08be43df69634a118e790418b 100644 |
| --- a/content/common/p2p_messages.h |
| +++ b/content/common/p2p_messages.h |
| @@ -24,6 +24,10 @@ IPC_STRUCT_TRAITS_END() |
| IPC_MESSAGE_ROUTED1(P2PMsg_NetworkListChanged, |
| net::NetworkInterfaceList /* networks */) |
| +IPC_MESSAGE_ROUTED2(P2PMsg_GetHostAddressResult, |
| + int32 /* request_id */, |
| + net::IPAddressNumber /* address */) |
|
Wez
2011/08/08 21:47:18
This only seems to allow a host to resolve to a si
Sergey Ulanov
2011/08/09 00:41:35
This reflects current behavior of libjingle (which
|
| + |
| IPC_MESSAGE_ROUTED2(P2PMsg_OnSocketCreated, |
| int /* socket_id */, |
| net::IPEndPoint /* socket_address */) |
| @@ -47,6 +51,10 @@ IPC_MESSAGE_ROUTED3(P2PMsg_OnDataReceived, |
| IPC_MESSAGE_ROUTED0(P2PHostMsg_StartNetworkNotifications) |
| IPC_MESSAGE_ROUTED0(P2PHostMsg_StopNetworkNotifications) |
| +IPC_MESSAGE_ROUTED2(P2PHostMsg_GetHostAddress, |
| + std::string /* host_name */, |
| + int32 /* request_id */) |
| + |
| IPC_MESSAGE_ROUTED4(P2PHostMsg_CreateSocket, |
| P2PSocketType /* type */, |
| int /* socket_id */, |