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

Unified Diff: net/dns/dns_session.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_session.h
diff --git a/net/dns/dns_session.h b/net/dns/dns_session.h
index 788474a22a04df465c26859e8746dece632b89eb..1ffa40c219d14ea8450c38d8c2017046ced13327 100644
--- a/net/dns/dns_session.h
+++ b/net/dns/dns_session.h
@@ -31,6 +31,7 @@ namespace net {
class ClientSocketFactory;
class DatagramClientSocket;
class NetLog;
+struct NetLogSource;
class StreamSocket;
// Session parameters and state shared between DNS transactions.
@@ -103,12 +104,12 @@ class NET_EXPORT_PRIVATE DnsSession
// Allocate a socket, already connected to the server address.
// When the SocketLease is destroyed, the socket will be freed.
std::unique_ptr<SocketLease> AllocateSocket(unsigned server_index,
- const NetLog::Source& source);
+ const NetLogSource& source);
// 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);
void ApplyPersistentData(const base::Value& data);
std::unique_ptr<const base::Value> GetPersistentData() const;

Powered by Google App Engine
This is Rietveld 408576698