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

Unified Diff: chrome/browser/net/chrome_net_log_unittest.cc

Issue 9585026: Add a source id to global NetLog entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Missed one Created 8 years, 9 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 | « chrome/browser/net/chrome_net_log.cc ('k') | chrome/browser/resources/net_internals/source_tracker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_net_log_unittest.cc
===================================================================
--- chrome/browser/net/chrome_net_log_unittest.cc (revision 126769)
+++ chrome/browser/net/chrome_net_log_unittest.cc (working copy)
@@ -37,9 +37,7 @@
};
void AddEvent(ChromeNetLog* net_log) {
- net::NetLog::Source source(net::NetLog::SOURCE_SOCKET, net_log->NextID());
- net_log->AddEntry(net::NetLog::TYPE_SOCKET_ALIVE, base::TimeTicks(),
- source, net::NetLog::PHASE_BEGIN, NULL);
+ net_log->AddGlobalEntry(net::NetLog::TYPE_CANCELLED, NULL);
}
// A thread that waits until an event has been signalled before calling
« no previous file with comments | « chrome/browser/net/chrome_net_log.cc ('k') | chrome/browser/resources/net_internals/source_tracker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698