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

Unified Diff: net/log/trace_net_log_observer_unittest.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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/trace_net_log_observer_unittest.cc
diff --git a/net/log/trace_net_log_observer_unittest.cc b/net/log/trace_net_log_observer_unittest.cc
index 363acc18315be5f525ef9d85d2a600d2ccf69607..cb2c00b2521e5acda1f33483f424e62de84e3541 100644
--- a/net/log/trace_net_log_observer_unittest.cc
+++ b/net/log/trace_net_log_observer_unittest.cc
@@ -167,11 +167,11 @@ TEST_F(TraceNetLogObserverTest, TraceEventCaptured) {
trace_net_log_observer()->WatchForTraceStart(net_log());
EnableTraceLog();
- BoundNetLog bound_net_log =
- BoundNetLog::Make(net_log(), net::NetLogSourceType::NONE);
+ NetLogWithSource net_log_with_source =
+ NetLogWithSource::Make(net_log(), net::NetLogSourceType::NONE);
net_log()->AddGlobalEntry(NetLogEventType::CANCELLED);
- bound_net_log.BeginEvent(NetLogEventType::URL_REQUEST_START_JOB);
- bound_net_log.EndEvent(NetLogEventType::REQUEST_ALIVE);
+ net_log_with_source.BeginEvent(NetLogEventType::URL_REQUEST_START_JOB);
+ net_log_with_source.EndEvent(NetLogEventType::REQUEST_ALIVE);
net_log()->GetEntries(&entries);
EXPECT_EQ(3u, entries.size());

Powered by Google App Engine
This is Rietveld 408576698