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

Unified Diff: content/browser/renderer_host/p2p/socket_dispatcher_host.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: content/browser/renderer_host/p2p/socket_dispatcher_host.cc
diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
index 09998e67255f1f7608c1eb3a95babf821f57cd8d..c9ead39b0d29042ff0e14fdf4fcab403a11bd81c 100644
--- a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
+++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
@@ -21,7 +21,8 @@
#include "net/base/network_interfaces.h"
#include "net/base/sys_addrinfo.h"
#include "net/dns/host_resolver.h"
-#include "net/log/net_log.h"
+#include "net/log/net_log_source.h"
+#include "net/log/net_log_with_source.h"
#include "net/socket/client_socket_factory.h"
#include "net/udp/datagram_client_socket.h"
#include "net/url_request/url_request_context_getter.h"
@@ -371,7 +372,7 @@ net::IPAddress P2PSocketDispatcherHost::GetDefaultLocalAddress(int family) {
std::unique_ptr<net::DatagramClientSocket> socket(
net::ClientSocketFactory::GetDefaultFactory()->CreateDatagramClientSocket(
net::DatagramSocket::DEFAULT_BIND, net::RandIntCallback(), nullptr,
- net::NetLog::Source()));
+ net::NetLogSource()));
net::IPAddress ip_address;
if (family == AF_INET) {

Powered by Google App Engine
This is Rietveld 408576698