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

Unified Diff: net/socket/tcp_client_socket.cc

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/socket/tcp_client_socket.cc
diff --git a/net/socket/tcp_client_socket.cc b/net/socket/tcp_client_socket.cc
index c8539b7d3dd1a05f0d5807b25b6fff70c23da552..f8f612295295c40b54b2d19cbd4981508648b731 100644
--- a/net/socket/tcp_client_socket.cc
+++ b/net/socket/tcp_client_socket.cc
@@ -18,11 +18,13 @@
namespace net {
+class NetLogWithSource;
+
TCPClientSocket::TCPClientSocket(
const AddressList& addresses,
std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher,
net::NetLog* net_log,
- const net::NetLog::Source& source)
+ const net::NetLogSource& source)
: socket_performance_watcher_(socket_performance_watcher.get()),
socket_(new TCPSocket(std::move(socket_performance_watcher),
net_log,

Powered by Google App Engine
This is Rietveld 408576698