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

Unified Diff: net/dns/dns_socket_pool.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: net/dns/dns_socket_pool.h
diff --git a/net/dns/dns_socket_pool.h b/net/dns/dns_socket_pool.h
index f83b3aae47559848c3890ea2a43157f5e804abee..cc326fbb722bbf93f5bb24b0e8dc94fd21b52b56 100644
--- a/net/dns/dns_socket_pool.h
+++ b/net/dns/dns_socket_pool.h
@@ -11,7 +11,6 @@
#include "base/macros.h"
#include "net/base/net_export.h"
#include "net/base/rand_callback.h"
-#include "net/log/net_log.h"
namespace net {
@@ -19,6 +18,7 @@ class ClientSocketFactory;
class DatagramClientSocket;
class IPEndPoint;
class NetLog;
+struct NetLogSource;
class StreamSocket;
// A DnsSocketPool is an abstraction layer around a ClientSocketFactory that
@@ -67,7 +67,7 @@ class NET_EXPORT_PRIVATE DnsSocketPool {
// Creates a StreamSocket from the factory for a transaction over TCP. These
// sockets are not pooled.
std::unique_ptr<StreamSocket> CreateTCPSocket(unsigned server_index,
- const NetLog::Source& source);
+ const NetLogSource& source);
protected:
DnsSocketPool(ClientSocketFactory* socket_factory,

Powered by Google App Engine
This is Rietveld 408576698