OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // IPC messages for the P2P Transport API. | 5 // IPC messages for the P2P Transport API. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/p2p_socket_type.h" | 10 #include "content/common/p2p_socket_type.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 IPC_ENUM_TRAITS_MAX_VALUE(content::P2PSocketOption, | 21 IPC_ENUM_TRAITS_MAX_VALUE(content::P2PSocketOption, |
22 content::P2P_SOCKET_OPT_MAX - 1) | 22 content::P2P_SOCKET_OPT_MAX - 1) |
23 IPC_ENUM_TRAITS_MIN_MAX_VALUE(rtc::DiffServCodePoint, | 23 IPC_ENUM_TRAITS_MIN_MAX_VALUE(rtc::DiffServCodePoint, |
24 rtc::DSCP_NO_CHANGE, | 24 rtc::DSCP_NO_CHANGE, |
25 rtc::DSCP_CS7) | 25 rtc::DSCP_CS7) |
26 | 26 |
27 IPC_STRUCT_TRAITS_BEGIN(net::NetworkInterface) | 27 IPC_STRUCT_TRAITS_BEGIN(net::NetworkInterface) |
28 IPC_STRUCT_TRAITS_MEMBER(name) | 28 IPC_STRUCT_TRAITS_MEMBER(name) |
29 IPC_STRUCT_TRAITS_MEMBER(type) | 29 IPC_STRUCT_TRAITS_MEMBER(type) |
30 IPC_STRUCT_TRAITS_MEMBER(address) | 30 IPC_STRUCT_TRAITS_MEMBER(address) |
31 IPC_STRUCT_TRAITS_MEMBER(network_prefix) | 31 IPC_STRUCT_TRAITS_MEMBER(prefix_length) |
32 IPC_STRUCT_TRAITS_MEMBER(ip_address_attributes) | 32 IPC_STRUCT_TRAITS_MEMBER(ip_address_attributes) |
33 IPC_STRUCT_TRAITS_END() | 33 IPC_STRUCT_TRAITS_END() |
34 | 34 |
35 IPC_STRUCT_TRAITS_BEGIN(rtc::PacketTimeUpdateParams) | 35 IPC_STRUCT_TRAITS_BEGIN(rtc::PacketTimeUpdateParams) |
36 IPC_STRUCT_TRAITS_MEMBER(rtp_sendtime_extension_id) | 36 IPC_STRUCT_TRAITS_MEMBER(rtp_sendtime_extension_id) |
37 IPC_STRUCT_TRAITS_MEMBER(srtp_auth_key) | 37 IPC_STRUCT_TRAITS_MEMBER(srtp_auth_key) |
38 IPC_STRUCT_TRAITS_MEMBER(srtp_auth_tag_len) | 38 IPC_STRUCT_TRAITS_MEMBER(srtp_auth_tag_len) |
39 IPC_STRUCT_TRAITS_MEMBER(srtp_packet_index) | 39 IPC_STRUCT_TRAITS_MEMBER(srtp_packet_index) |
40 IPC_STRUCT_TRAITS_END() | 40 IPC_STRUCT_TRAITS_END() |
41 | 41 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 rtc::PacketOptions /* packet options */, | 109 rtc::PacketOptions /* packet options */, |
110 uint64 /* packet_id */) | 110 uint64 /* packet_id */) |
111 | 111 |
112 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, | 112 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, |
113 int /* socket_id */) | 113 int /* socket_id */) |
114 | 114 |
115 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, | 115 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, |
116 int /* socket_id */, | 116 int /* socket_id */, |
117 content::P2PSocketOption /* socket option type */, | 117 content::P2PSocketOption /* socket option type */, |
118 int /* value */) | 118 int /* value */) |
OLD | NEW |