| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 void StopRtpDumpOnIOThread(bool incoming, bool outgoing); | 110 void StopRtpDumpOnIOThread(bool incoming, bool outgoing); |
| 111 | 111 |
| 112 content::ResourceContext* resource_context_; | 112 content::ResourceContext* resource_context_; |
| 113 scoped_refptr<net::URLRequestContextGetter> url_context_; | 113 scoped_refptr<net::URLRequestContextGetter> url_context_; |
| 114 | 114 |
| 115 SocketsMap sockets_; | 115 SocketsMap sockets_; |
| 116 | 116 |
| 117 bool monitoring_networks_; | 117 bool monitoring_networks_; |
| 118 | 118 |
| 119 std::set<DnsRequest*> dns_requests_; | 119 std::set<std::unique_ptr<DnsRequest>> dns_requests_; |
| 120 P2PMessageThrottler throttler_; | 120 P2PMessageThrottler throttler_; |
| 121 | 121 |
| 122 net::IPAddress default_ipv4_local_address_; | 122 net::IPAddress default_ipv4_local_address_; |
| 123 net::IPAddress default_ipv6_local_address_; | 123 net::IPAddress default_ipv6_local_address_; |
| 124 | 124 |
| 125 bool dump_incoming_rtp_packet_; | 125 bool dump_incoming_rtp_packet_; |
| 126 bool dump_outgoing_rtp_packet_; | 126 bool dump_outgoing_rtp_packet_; |
| 127 RenderProcessHost::WebRtcRtpPacketCallback packet_callback_; | 127 RenderProcessHost::WebRtcRtpPacketCallback packet_callback_; |
| 128 | 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost); | 129 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace content | 132 } // namespace content |
| 133 | 133 |
| 134 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ | 134 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ |
| OLD | NEW |