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

Unified Diff: net/dns/mdns_client.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/mdns_client.cc
diff --git a/net/dns/mdns_client.cc b/net/dns/mdns_client.cc
index 6add12c4fed5f70db520506ef962c339cff49a0b..2e18945d3754fdd8d4ec40adf591d2777122f552 100644
--- a/net/dns/mdns_client.cc
+++ b/net/dns/mdns_client.cc
@@ -9,6 +9,7 @@
#include "net/base/network_interfaces.h"
#include "net/dns/dns_protocol.h"
#include "net/dns/mdns_client_impl.h"
+#include "net/log/net_log_source.h"
namespace net {
@@ -88,7 +89,7 @@ std::unique_ptr<DatagramServerSocket> CreateAndBindMDnsSocket(
AddressFamily address_family,
uint32_t interface_index) {
std::unique_ptr<DatagramServerSocket> socket(
- new UDPServerSocket(NULL, NetLog::Source()));
+ new UDPServerSocket(NULL, NetLogSource()));
IPEndPoint multicast_addr = GetMDnsIPEndPoint(address_family);
int rv = Bind(multicast_addr, interface_index, socket.get());

Powered by Google App Engine
This is Rietveld 408576698