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

Unified Diff: media/cast/test/utility/udp_proxy.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: media/cast/test/utility/udp_proxy.cc
diff --git a/media/cast/test/utility/udp_proxy.cc b/media/cast/test/utility/udp_proxy.cc
index 9f8e08ef3a5a6681f6120af1c9f99bc7afaac6e5..da9bb3b0b835f467ca61e71ba66af6ec09c1a0e3 100644
--- a/media/cast/test/utility/udp_proxy.cc
+++ b/media/cast/test/utility/udp_proxy.cc
@@ -18,6 +18,7 @@
#include "base/time/default_tick_clock.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
+#include "net/log/net_log_source.h"
#include "net/udp/udp_server_socket.h"
namespace media {
@@ -738,7 +739,7 @@ class UDPProxyImpl : public UDPProxy {
private:
void Start(base::WaitableEvent* start_event,
net::NetLog* net_log) {
- socket_.reset(new net::UDPServerSocket(net_log, net::NetLog::Source()));
+ socket_.reset(new net::UDPServerSocket(net_log, net::NetLogSource()));
BuildPipe(&to_dest_pipe_, new PacketSender(this, &destination_));
BuildPipe(&from_dest_pipe_, new PacketSender(this, &return_address_));
to_dest_pipe_->InitOnIOThread(base::ThreadTaskRunnerHandle::Get(),

Powered by Google App Engine
This is Rietveld 408576698