| Index: content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.h b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| index 18b18df22721a047bd76d035057fe2e4f81d816a..ec1945309c21011b3222f6f58c9539af57e6c545 100644
|
| --- a/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| +++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| @@ -90,7 +90,14 @@ class P2PSocketDispatcherHost
|
| void OnDestroySocket(int socket_id);
|
|
|
| void DoGetNetworkList();
|
| - void SendNetworkList(const net::NetworkInterfaceList& list);
|
| + void SendNetworkList(const net::NetworkInterfaceList& list,
|
| + const net::IPAddressNumber& default_ipv4_local_address,
|
| + const net::IPAddressNumber& default_ipv6_local_address);
|
| +
|
| + // This connects a UDP socket to a public IP address and gets local
|
| + // address. Since it binds to the "any" address (0.0.0.0 or ::) internally, it
|
| + // retrieves the default local address.
|
| + net::IPAddressNumber GetDefaultLocalAddress(int family);
|
|
|
| void OnAddressResolved(DnsRequest* request,
|
| const net::IPAddressList& addresses);
|
| @@ -107,6 +114,9 @@ class P2PSocketDispatcherHost
|
| std::set<DnsRequest*> dns_requests_;
|
| P2PMessageThrottler throttler_;
|
|
|
| + net::IPAddressNumber default_ipv4_local_address_;
|
| + net::IPAddressNumber default_ipv6_local_address_;
|
| +
|
| bool dump_incoming_rtp_packet_;
|
| bool dump_outgoing_rtp_packet_;
|
| RenderProcessHost::WebRtcRtpPacketCallback packet_callback_;
|
|
|