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

Unified Diff: net/log/net_log_unittest.cc

Issue 1109473003: Get rid of TestNetLog::CapturedEntry[List] typedefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: net/log/net_log_unittest.cc
diff --git a/net/log/net_log_unittest.cc b/net/log/net_log_unittest.cc
index 9fad152c732c7c52d305e16bdb0b417f73663d7b..9f1696bd99817d3d80c2b24923079e3f00df3d4b 100644
--- a/net/log/net_log_unittest.cc
+++ b/net/log/net_log_unittest.cc
@@ -30,7 +30,7 @@ base::Value* NetCaptureModeCallback(NetLogCaptureMode capture_mode) {
TEST(NetLogTest, Basic) {
TestNetLog net_log;
- TestNetLog::CapturedEntryList entries;
+ CapturedNetLogEntry::List entries;
net_log.GetEntries(&entries);
EXPECT_EQ(0u, entries.size());
@@ -63,7 +63,7 @@ TEST(NetLogTest, CaptureModes) {
net_log.AddGlobalEntry(NetLog::TYPE_SOCKET_ALIVE,
base::Bind(NetCaptureModeCallback));
- TestNetLog::CapturedEntryList entries;
+ CapturedNetLogEntry::List entries;
net_log.GetEntries(&entries);
ASSERT_EQ(1u, entries.size());

Powered by Google App Engine
This is Rietveld 408576698