| 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);
|
|
|