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

Unified Diff: chrome/browser/devtools/device/adb/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/browser/devtools/device/adb/adb_client_socket.cc
diff --git a/chrome/browser/devtools/device/adb/adb_client_socket.cc b/chrome/browser/devtools/device/adb/adb_client_socket.cc
index 3757c7108c67a9b01031934115cfa168273391f1..3ba639762a900e0de27906407cde892c6e59aaf0 100644
--- a/chrome/browser/devtools/device/adb/adb_client_socket.cc
+++ b/chrome/browser/devtools/device/adb/adb_client_socket.cc
@@ -17,6 +17,7 @@
#include "base/strings/stringprintf.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 {
@@ -184,7 +185,7 @@ void AdbClientSocket::Connect(const net::CompletionCallback& callback) {
net::AddressList address_list =
net::AddressList::CreateFromIPAddress(ip_address, 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