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

Unified Diff: net/http/http_auth_handler_unittest.cc

Issue 4118004: Update NetLog to be thread safe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add short test description Created 10 years, 1 month 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/http/http_auth_handler_unittest.cc
===================================================================
--- net/http/http_auth_handler_unittest.cc (revision 66783)
+++ net/http/http_auth_handler_unittest.cc (working copy)
@@ -49,10 +49,13 @@
if (async)
test_callback.WaitForResult();
- EXPECT_EQ(2u, capturing_net_log.entries().size());
- EXPECT_TRUE(LogContainsBeginEvent(capturing_net_log.entries(),
+ net::CapturingNetLog::EntryList entries;
+ capturing_net_log.GetEntries(&entries);
+
+ EXPECT_EQ(2u, entries.size());
+ EXPECT_TRUE(LogContainsBeginEvent(entries,
0, event_type));
- EXPECT_TRUE(LogContainsEndEvent(capturing_net_log.entries(),
+ EXPECT_TRUE(LogContainsEndEvent(entries,
1, event_type));
}
}

Powered by Google App Engine
This is Rietveld 408576698