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

Unified Diff: net/udp/udp_socket_unittest.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/udp/udp_socket_perftest.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_socket_unittest.cc
diff --git a/net/udp/udp_socket_unittest.cc b/net/udp/udp_socket_unittest.cc
index f1bff689319ea02094735743f3fef00dfb244c1a..d422e4a4a3839273c8f944183de65c169185b84a 100644
--- a/net/udp/udp_socket_unittest.cc
+++ b/net/udp/udp_socket_unittest.cc
@@ -149,7 +149,7 @@ void UDPSocketTest::ConnectTest(bool use_nonblocking_io) {
// Setup the server to listen.
IPEndPoint bind_address;
CreateUDPAddress("127.0.0.1", kPort, &bind_address);
- CapturingNetLog server_log;
+ TestNetLog server_log;
scoped_ptr<UDPServerSocket> server(
new UDPServerSocket(&server_log, NetLog::Source()));
#if defined(OS_WIN)
@@ -163,7 +163,7 @@ void UDPSocketTest::ConnectTest(bool use_nonblocking_io) {
// Setup the client.
IPEndPoint server_address;
CreateUDPAddress("127.0.0.1", kPort, &server_address);
- CapturingNetLog client_log;
+ TestNetLog client_log;
scoped_ptr<UDPClientSocket> client(
new UDPClientSocket(DatagramSocket::DEFAULT_BIND, RandIntCallback(),
&client_log, NetLog::Source()));
@@ -213,7 +213,7 @@ void UDPSocketTest::ConnectTest(bool use_nonblocking_io) {
client.reset();
// Check the server's log.
- CapturingNetLog::CapturedEntryList server_entries;
+ TestNetLog::CapturedEntryList server_entries;
server_log.GetEntries(&server_entries);
EXPECT_EQ(5u, server_entries.size());
EXPECT_TRUE(
@@ -228,7 +228,7 @@ void UDPSocketTest::ConnectTest(bool use_nonblocking_io) {
LogContainsEndEvent(server_entries, 4, NetLog::TYPE_SOCKET_ALIVE));
// Check the client's log.
- CapturingNetLog::CapturedEntryList client_entries;
+ TestNetLog::CapturedEntryList client_entries;
client_log.GetEntries(&client_entries);
EXPECT_EQ(7u, client_entries.size());
EXPECT_TRUE(
@@ -277,7 +277,7 @@ TEST_F(UDPSocketTest, Broadcast) {
IPEndPoint listen_address;
CreateUDPAddress("0.0.0.0", kPort, &listen_address);
- CapturingNetLog server1_log, server2_log;
+ TestNetLog server1_log, server2_log;
scoped_ptr<UDPServerSocket> server1(
new UDPServerSocket(&server1_log, NetLog::Source()));
scoped_ptr<UDPServerSocket> server2(
« no previous file with comments | « net/udp/udp_socket_perftest.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698