Chromium Code Reviews| Index: net/dns/dns_socket_pool.h |
| diff --git a/net/dns/dns_socket_pool.h b/net/dns/dns_socket_pool.h |
| index 54a2edb6f8df1864475e5d3ff05b7acd56e36a71..b57cbe45bc200d25a06ec1774b3a314bf1077c4d 100644 |
| --- a/net/dns/dns_socket_pool.h |
| +++ b/net/dns/dns_socket_pool.h |
| @@ -9,6 +9,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "net/base/net_export.h" |
| +#include "net/base/net_log.h" |
| namespace net { |
| @@ -16,6 +17,7 @@ class ClientSocketFactory; |
| class DatagramClientSocket; |
| class IPEndPoint; |
| class NetLog; |
| +class StreamSocket; |
| // A DnsSocketPool is an abstraction layer around a ClientSocketFactory that |
| // allows preallocation, reuse, or other strategies to manage sockets connected |
| @@ -59,6 +61,11 @@ class NET_EXPORT_PRIVATE DnsSocketPool { |
| unsigned server_index, |
| scoped_ptr<DatagramClientSocket> socket) = 0; |
| + // TODO(szym): add comment |
|
mmenke
2012/12/19 16:44:09
Assume you're going to take care of that in this C
szym
2012/12/19 23:35:56
Done.
|
| + scoped_ptr<StreamSocket> AllocateTCPSocket( |
| + unsigned server_index, |
| + const NetLog::Source& source); |
| + |
| protected: |
| DnsSocketPool(ClientSocketFactory* socket_factory); |