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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 | 49 |
50 // P2P Socket messages sent from the browser to the renderer. | 50 // P2P Socket messages sent from the browser to the renderer. |
51 | 51 |
52 IPC_MESSAGE_CONTROL1(P2PMsg_NetworkListChanged, | 52 IPC_MESSAGE_CONTROL1(P2PMsg_NetworkListChanged, |
53 net::NetworkInterfaceList /* networks */) | 53 net::NetworkInterfaceList /* networks */) |
54 | 54 |
55 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult, | 55 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult, |
56 int32 /* request_id */, | 56 int32 /* request_id */, |
57 net::IPAddressList /* address list*/) | 57 net::IPAddressList /* address list*/) |
58 | 58 |
59 IPC_MESSAGE_CONTROL2(P2PMsg_OnSocketCreated, | 59 IPC_MESSAGE_CONTROL3(P2PMsg_OnSocketCreated, |
60 int /* socket_id */, | 60 int /* socket_id */, |
61 net::IPEndPoint /* socket_address */) | 61 net::IPEndPoint /* socket_address */, |
Sergey Ulanov
2014/07/03 03:31:06
local_address
Mallinath (Gone from Chromium)
2014/07/07 17:56:44
Done.
| |
62 net::IPEndPoint /* remote_address */) | |
62 | 63 |
63 IPC_MESSAGE_CONTROL1(P2PMsg_OnSendComplete, | 64 IPC_MESSAGE_CONTROL1(P2PMsg_OnSendComplete, |
64 int /* socket_id */) | 65 int /* socket_id */) |
65 | 66 |
66 IPC_MESSAGE_CONTROL1(P2PMsg_OnError, | 67 IPC_MESSAGE_CONTROL1(P2PMsg_OnError, |
67 int /* socket_id */) | 68 int /* socket_id */) |
68 | 69 |
69 IPC_MESSAGE_CONTROL2(P2PMsg_OnIncomingTcpConnection, | 70 IPC_MESSAGE_CONTROL2(P2PMsg_OnIncomingTcpConnection, |
70 int /* socket_id */, | 71 int /* socket_id */, |
71 net::IPEndPoint /* socket_address */) | 72 net::IPEndPoint /* socket_address */) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
106 talk_base::PacketOptions /* packet options */, | 107 talk_base::PacketOptions /* packet options */, |
107 uint64 /* packet_id */) | 108 uint64 /* packet_id */) |
108 | 109 |
109 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, | 110 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, |
110 int /* socket_id */) | 111 int /* socket_id */) |
111 | 112 |
112 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, | 113 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, |
113 int /* socket_id */, | 114 int /* socket_id */, |
114 content::P2PSocketOption /* socket option type */, | 115 content::P2PSocketOption /* socket option type */, |
115 int /* value */) | 116 int /* value */) |
OLD | NEW |