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

Unified Diff: chrome/browser/devtools/device/tcp_device_provider.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/tcp_device_provider.cc
diff --git a/chrome/browser/devtools/device/tcp_device_provider.cc b/chrome/browser/devtools/device/tcp_device_provider.cc
index b010d7518be6d7071ac9b1342ea3e3d7eda64267..4441b5b4a84dc21c52e5abfbb665580317ea5c9d 100644
--- a/chrome/browser/devtools/device/tcp_device_provider.cc
+++ b/chrome/browser/devtools/device/tcp_device_provider.cc
@@ -15,6 +15,8 @@
#include "chrome/browser/devtools/device/adb/adb_client_socket.h"
#include "net/base/net_errors.h"
#include "net/dns/host_resolver.h"
+#include "net/log/net_log_source.h"
+#include "net/log/net_log_with_source.h"
#include "net/socket/tcp_client_socket.h"
namespace {
@@ -53,7 +55,7 @@ class ResolveHostAndOpenSocket final {
return;
}
std::unique_ptr<net::StreamSocket> socket(new net::TCPClientSocket(
- address_list_, NULL, NULL, net::NetLog::Source()));
+ address_list_, NULL, NULL, net::NetLogSource()));
socket->Connect(
base::Bind(&RunSocketCallback, callback_, base::Passed(&socket)));
delete this;

Powered by Google App Engine
This is Rietveld 408576698