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

Unified Diff: chrome/browser/printing/cloud_print/privet_traffic_detector.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/printing/cloud_print/privet_traffic_detector.cc
diff --git a/chrome/browser/printing/cloud_print/privet_traffic_detector.cc b/chrome/browser/printing/cloud_print/privet_traffic_detector.cc
index 672410fcf509dfc03ec46f548857a2ed5d2ff3b5..a72e563931729da62b0be84d1d66768a00348e8b 100644
--- a/chrome/browser/printing/cloud_print/privet_traffic_detector.cc
+++ b/chrome/browser/printing/cloud_print/privet_traffic_detector.cc
@@ -18,7 +18,7 @@
#include "net/dns/dns_protocol.h"
#include "net/dns/dns_response.h"
#include "net/dns/mdns_client.h"
-#include "net/log/net_log.h"
+#include "net/log/net_log_source.h"
#include "net/udp/datagram_server_socket.h"
#include "net/udp/udp_server_socket.h"
@@ -131,7 +131,7 @@ int PrivetTrafficDetector::Bind() {
}
start_time_ = base::Time::Now();
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
- socket_.reset(new net::UDPServerSocket(NULL, net::NetLog::Source()));
+ socket_.reset(new net::UDPServerSocket(NULL, net::NetLogSource()));
net::IPEndPoint multicast_addr = net::GetMDnsIPEndPoint(address_family_);
net::IPEndPoint bind_endpoint(
net::IPAddress::AllZeros(multicast_addr.address().size()),

Powered by Google App Engine
This is Rietveld 408576698