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

Unified Diff: chrome/test/chromedriver/net/adb_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: chrome/test/chromedriver/net/adb_client_socket.cc
diff --git a/chrome/test/chromedriver/net/adb_client_socket.cc b/chrome/test/chromedriver/net/adb_client_socket.cc
index 7938ceabe7f049daf26689d3a654e6b7249cc265..46c5b705391f144c55697f57cf63d8f6f717e719 100644
--- a/chrome/test/chromedriver/net/adb_client_socket.cc
+++ b/chrome/test/chromedriver/net/adb_client_socket.cc
@@ -16,6 +16,7 @@
#include "net/base/completion_callback.h"
#include "net/base/ip_address.h"
#include "net/base/net_errors.h"
+#include "net/log/net_log_source.h"
#include "net/socket/tcp_client_socket.h"
namespace {
@@ -331,7 +332,7 @@ void AdbClientSocket::TransportQuery(int port,
net::AddressList address_list = net::AddressList::CreateFromIPAddress(
net::IPAddress::IPv4Localhost(), tcp_port);
net::TCPClientSocket* socket = new net::TCPClientSocket(
- address_list, NULL, net::NetLog::Source());
+ address_list, NULL, net::NetLogSource());
socket->Connect(base::Bind(&UseTransportQueryForDesktop, callback, socket));
return;
}
@@ -376,7 +377,7 @@ void AdbClientSocket::Connect(const net::CompletionCallback& callback) {
ip_list, port_);
socket_.reset(new net::TCPClientSocket(address_list, NULL, NULL,
- net::NetLog::Source()));
+ net::NetLogSource()));
int result = socket_->Connect(callback);
if (result != net::ERR_IO_PENDING)
callback.Run(result);

Powered by Google App Engine
This is Rietveld 408576698