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

Unified Diff: net/dns/dns_socket_pool.h

Issue 2533753003: Make DnsSocketPool copy RandIntCallback (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/dns/dns_socket_pool.cc » ('j') | net/dns/dns_socket_pool.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_socket_pool.h
diff --git a/net/dns/dns_socket_pool.h b/net/dns/dns_socket_pool.h
index cc326fbb722bbf93f5bb24b0e8dc94fd21b52b56..f4f00bba6e4480f06ecaef3e6f03c83aba9821a9 100644
--- a/net/dns/dns_socket_pool.h
+++ b/net/dns/dns_socket_pool.h
@@ -26,7 +26,7 @@ class StreamSocket;
// to DNS servers.
class NET_EXPORT_PRIVATE DnsSocketPool {
public:
- virtual ~DnsSocketPool() { }
+ virtual ~DnsSocketPool();
// Creates a DnsSocketPool that implements the default strategy for managing
// sockets. (This varies by platform; see DnsSocketPoolImpl in
@@ -85,7 +85,7 @@ class NET_EXPORT_PRIVATE DnsSocketPool {
private:
ClientSocketFactory* socket_factory_;
- const RandIntCallback& rand_int_callback_;
+ const RandIntCallback rand_int_callback_;
NetLog* net_log_;
const std::vector<IPEndPoint>* nameservers_;
bool initialized_;
« no previous file with comments | « no previous file | net/dns/dns_socket_pool.cc » ('j') | net/dns/dns_socket_pool.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698