diff options
Diffstat (limited to 'content/common/p2p_messages.h')
-rw-r--r-- | content/common/p2p_messages.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/common/p2p_messages.h b/content/common/p2p_messages.h index b5be0e6..d65a10b 100644 --- a/content/common/p2p_messages.h +++ b/content/common/p2p_messages.h @@ -18,6 +18,7 @@ IPC_ENUM_TRAITS(content::P2PSocketType) IPC_ENUM_TRAITS(net::DiffServCodePoint) +IPC_ENUM_TRAITS(content::P2PSocketOption) IPC_STRUCT_TRAITS_BEGIN(net::NetworkInterface) IPC_STRUCT_TRAITS_MEMBER(name) @@ -85,3 +86,8 @@ IPC_MESSAGE_CONTROL5(P2PHostMsg_Send, IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, int /* socket_id */) + +IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, + int /* socket_id */, + content::P2PSocketOption /* socket option type */, + int /* value */) |