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 23 matching lines...) Expand all Loading... |
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 |
42 IPC_STRUCT_TRAITS_BEGIN(rtc::PacketOptions) | 42 IPC_STRUCT_TRAITS_BEGIN(rtc::PacketOptions) |
43 IPC_STRUCT_TRAITS_MEMBER(dscp) | 43 IPC_STRUCT_TRAITS_MEMBER(dscp) |
| 44 IPC_STRUCT_TRAITS_MEMBER(packet_id) |
44 IPC_STRUCT_TRAITS_MEMBER(packet_time_params) | 45 IPC_STRUCT_TRAITS_MEMBER(packet_time_params) |
45 IPC_STRUCT_TRAITS_END() | 46 IPC_STRUCT_TRAITS_END() |
46 | 47 |
47 IPC_STRUCT_TRAITS_BEGIN(content::P2PHostAndIPEndPoint) | 48 IPC_STRUCT_TRAITS_BEGIN(content::P2PHostAndIPEndPoint) |
48 IPC_STRUCT_TRAITS_MEMBER(hostname) | 49 IPC_STRUCT_TRAITS_MEMBER(hostname) |
49 IPC_STRUCT_TRAITS_MEMBER(ip_address) | 50 IPC_STRUCT_TRAITS_MEMBER(ip_address) |
50 IPC_STRUCT_TRAITS_END() | 51 IPC_STRUCT_TRAITS_END() |
51 | 52 |
52 IPC_STRUCT_TRAITS_BEGIN(content::P2PSendPacketMetrics) | 53 IPC_STRUCT_TRAITS_BEGIN(content::P2PSendPacketMetrics) |
53 IPC_STRUCT_TRAITS_MEMBER(packet_id) | 54 IPC_STRUCT_TRAITS_MEMBER(packet_id) |
| 55 IPC_STRUCT_TRAITS_MEMBER(rtc_packet_id) |
| 56 IPC_STRUCT_TRAITS_MEMBER(send_time) |
54 IPC_STRUCT_TRAITS_END() | 57 IPC_STRUCT_TRAITS_END() |
55 | 58 |
56 // P2P Socket messages sent from the browser to the renderer. | 59 // P2P Socket messages sent from the browser to the renderer. |
57 | 60 |
58 IPC_MESSAGE_CONTROL1(P2PMsg_NetworkListChanged, | 61 IPC_MESSAGE_CONTROL1(P2PMsg_NetworkListChanged, |
59 net::NetworkInterfaceList /* networks */) | 62 net::NetworkInterfaceList /* networks */) |
60 | 63 |
61 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult, | 64 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult, |
62 int32 /* request_id */, | 65 int32 /* request_id */, |
63 net::IPAddressList /* address list*/) | 66 net::IPAddressList /* address list*/) |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 rtc::PacketOptions /* packet options */, | 118 rtc::PacketOptions /* packet options */, |
116 uint64 /* packet_id */) | 119 uint64 /* packet_id */) |
117 | 120 |
118 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, | 121 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, |
119 int /* socket_id */) | 122 int /* socket_id */) |
120 | 123 |
121 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, | 124 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, |
122 int /* socket_id */, | 125 int /* socket_id */, |
123 content::P2PSocketOption /* socket option type */, | 126 content::P2PSocketOption /* socket option type */, |
124 int /* value */) | 127 int /* value */) |
OLD | NEW |