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

Unified Diff: net/udp/udp_socket_perftest.cc

Issue 1084533002: Rename NetLogLogger and CapturingNetLog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename NetLogLogger and CapturingNetLog(removed compiler error for chromeOS) Created 5 years, 8 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
« no previous file with comments | « net/spdy/spdy_stream_unittest.cc ('k') | net/udp/udp_socket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_socket_perftest.cc
diff --git a/net/udp/udp_socket_perftest.cc b/net/udp/udp_socket_perftest.cc
index 5a85dcb33b52c881a4564d295ba5028bce4ecac6..df36c46d44dd8fe8a8b8b5c0a0093db8f97e4acd 100644
--- a/net/udp/udp_socket_perftest.cc
+++ b/net/udp/udp_socket_perftest.cc
@@ -91,7 +91,7 @@ void UDPSocketPerfTest::WriteBenchmark(bool use_nonblocking_io) {
// Setup the server to listen.
net::IPEndPoint bind_address;
CreateUDPAddress("127.0.0.1", kPort, &bind_address);
- net::CapturingNetLog server_log;
+ net::TestNetLog server_log;
scoped_ptr<net::UDPServerSocket> server(
new net::UDPServerSocket(&server_log, net::NetLog::Source()));
#if defined(OS_WIN)
@@ -104,7 +104,7 @@ void UDPSocketPerfTest::WriteBenchmark(bool use_nonblocking_io) {
// Setup the client.
net::IPEndPoint server_address;
CreateUDPAddress("127.0.0.1", kPort, &server_address);
- net::CapturingNetLog client_log;
+ net::TestNetLog client_log;
scoped_ptr<net::UDPClientSocket> client(new net::UDPClientSocket(
net::DatagramSocket::DEFAULT_BIND, net::RandIntCallback(), &client_log,
net::NetLog::Source()));
« no previous file with comments | « net/spdy/spdy_stream_unittest.cc ('k') | net/udp/udp_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698