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

Side by Side Diff: content/browser/renderer_host/p2p/socket_dispatcher_host.h

Issue 2314833002: Remove some uses of stl_util's STLDeleteContainerPointers. (Closed)
Patch Set: cleanup Created 4 years, 3 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 #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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698