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

Unified Diff: remoting/protocol/chromium_socket_factory.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: remoting/protocol/chromium_socket_factory.cc
diff --git a/remoting/protocol/chromium_socket_factory.cc b/remoting/protocol/chromium_socket_factory.cc
index cdab36da8c66f77e6ef9577b99bbd54272cf1263..85bf37b3ce01e139f38f0f7b11385d6a8de9b8e9 100644
--- a/remoting/protocol/chromium_socket_factory.cc
+++ b/remoting/protocol/chromium_socket_factory.cc
@@ -18,6 +18,7 @@
#include "net/base/io_buffer.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
+#include "net/log/net_log_source.h"
#include "net/udp/udp_server_socket.h"
#include "remoting/protocol/socket_util.h"
#include "third_party/webrtc/base/asyncpacketsocket.h"
@@ -137,7 +138,7 @@ bool UdpPacketSocket::Init(const rtc::SocketAddress& local_address,
}
for (uint32_t port = min_port; port <= max_port; ++port) {
- socket_.reset(new net::UDPServerSocket(nullptr, net::NetLog::Source()));
+ socket_.reset(new net::UDPServerSocket(nullptr, net::NetLogSource()));
int result = socket_->Listen(
net::IPEndPoint(local_endpoint.address(), static_cast<uint16_t>(port)));
if (result == net::OK) {

Powered by Google App Engine
This is Rietveld 408576698