Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: content/common/p2p_messages.h

Issue 1833523002: Migrate content/*/p2p/* code to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments sergeyu Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 IPC_STRUCT_TRAITS_BEGIN(content::P2PSendPacketMetrics) 56 IPC_STRUCT_TRAITS_BEGIN(content::P2PSendPacketMetrics)
57 IPC_STRUCT_TRAITS_MEMBER(packet_id) 57 IPC_STRUCT_TRAITS_MEMBER(packet_id)
58 IPC_STRUCT_TRAITS_MEMBER(rtc_packet_id) 58 IPC_STRUCT_TRAITS_MEMBER(rtc_packet_id)
59 IPC_STRUCT_TRAITS_MEMBER(send_time) 59 IPC_STRUCT_TRAITS_MEMBER(send_time)
60 IPC_STRUCT_TRAITS_END() 60 IPC_STRUCT_TRAITS_END()
61 61
62 // P2P Socket messages sent from the browser to the renderer. 62 // P2P Socket messages sent from the browser to the renderer.
63 63
64 IPC_MESSAGE_CONTROL3(P2PMsg_NetworkListChanged, 64 IPC_MESSAGE_CONTROL3(P2PMsg_NetworkListChanged,
65 net::NetworkInterfaceList /* networks */, 65 net::NetworkInterfaceList /* networks */,
66 net::IPAddressNumber /* default_ipv4_local_address */, 66 net::IPAddress /* default_ipv4_local_address */,
67 net::IPAddressNumber /* default_ipv6_local_address */) 67 net::IPAddress /* default_ipv6_local_address */)
68 68
69 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult, 69 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult,
70 int32_t /* request_id */, 70 int32_t /* request_id */,
71 net::IPAddressList /* address list*/) 71 net::IPAddressList /* address list*/)
72 72
73 IPC_MESSAGE_CONTROL3(P2PMsg_OnSocketCreated, 73 IPC_MESSAGE_CONTROL3(P2PMsg_OnSocketCreated,
74 int /* socket_id */, 74 int /* socket_id */,
75 net::IPEndPoint /* local_address */, 75 net::IPEndPoint /* local_address */,
76 net::IPEndPoint /* remote_address */) 76 net::IPEndPoint /* remote_address */)
77 77
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 rtc::PacketOptions /* packet options */, 123 rtc::PacketOptions /* packet options */,
124 uint64_t /* packet_id */) 124 uint64_t /* packet_id */)
125 125
126 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, 126 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket,
127 int /* socket_id */) 127 int /* socket_id */)
128 128
129 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption, 129 IPC_MESSAGE_CONTROL3(P2PHostMsg_SetOption,
130 int /* socket_id */, 130 int /* socket_id */,
131 content::P2PSocketOption /* socket option type */, 131 content::P2PSocketOption /* socket option type */,
132 int /* value */) 132 int /* value */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_test_utils.cc ('k') | content/renderer/p2p/ipc_network_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698