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

Unified Diff: net/dns/address_sorter_posix.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/dns/address_sorter_posix.cc
diff --git a/net/dns/address_sorter_posix.cc b/net/dns/address_sorter_posix.cc
index 38a7d74ddb9284c52093e3a372e03a022a45c1fa..730fb4fb23a1f15721a1cd50cf66edbf1eae4002 100644
--- a/net/dns/address_sorter_posix.cc
+++ b/net/dns/address_sorter_posix.cc
@@ -23,6 +23,7 @@
#include "base/logging.h"
#include "net/base/net_errors.h"
+#include "net/log/net_log_source.h"
#include "net/socket/client_socket_factory.h"
#include "net/udp/datagram_client_socket.h"
@@ -269,7 +270,7 @@ void AddressSorterPosix::Sort(const AddressList& list,
std::unique_ptr<DatagramClientSocket> socket(
socket_factory_->CreateDatagramClientSocket(
DatagramSocket::DEFAULT_BIND, RandIntCallback(), NULL /* NetLog */,
- NetLog::Source()));
+ NetLogSource()));
// Even though no packets are sent, cannot use port 0 in Connect.
IPEndPoint dest(info->address, 80 /* port */);

Powered by Google App Engine
This is Rietveld 408576698